Hi,

i know that http://tracker.firebirdsql.org/browse/CORE-5634 is closed but it 
should be?

Alexander Peshkov say there:
“So yes, case is correctly always changed to upper case. “"
but this is not true because attributes are not upper case only are Gid, Uid – 
as you can see it is not upper case.

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


SELECT r.RDB$DB_KEY, r.SEC$USER_NAME, r.SEC$KEY, r.SEC$VALUE, r.SEC$PLUGIN
FROM SEC$USER_ATTRIBUTES r

0000002c:00000001    KBIENIASZEWSKI                     Gid    5    
Legacy_UserManager       <--- you see it is Gid not GID      
0000002c:00000002    KBIENIASZEWSKI                     Uid    2    
Legacy_UserManager       <--- you see it is Uid not UID      


and in the code there is e.g.:
setAttr(attr, "Uid", &u->u);
setAttr(attr, "Gid", &u->g);

regards,
Karol Bieniaszewski
------------------------------------------------------------------------------
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