Attributes in SEC$USER_ATTRIBUTES  are stored in different char case then 
provided and also lost of stored values
-----------------------------------------------------------------------------------------------------------------

                 Key: CORE-5634
                 URL: http://tracker.firebirdsql.org/browse/CORE-5634
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0.3
            Reporter: Karol Bieniaszewski


I do not know if this is releated to but i use Legacy user manager

CREATE USER KBIENIASZEWSKI PASSWORD XYZ;
commit;
ALTER USER KBIENIASZEWSKI SET TAGS(UID=2, GID=5);
commit;

Bug 1:
SELECT * FROM SEC$USER_ATTRIBUTES UA WHERE UA.SEC$USER_NAME='KBIENIASZEWSKI';
you will see that Key have value "Gid" and "Uid" but was provided "GID" and 
"UID"

and now 
SELECT * FROM SEC$USER_ATTRIBUTES UA WHERE UA.SEC$USER_NAME='KBIENIASZEWSKI' 
AND UA.SEC$KEY='GID';
return nothing because of char case

Bug 2:
ALTER USER KBIENIASZEWSKI SET TAGS(THING=17);
commit;

SELECT * FROM SEC$USER_ATTRIBUTES UA WHERE UA.SEC$USER_NAME='KBIENIASZEWSKI';
only two attributes presented new one "THING" is not there




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to