|
[
Permalink
| « Hide
]
michalk1 added a comment - 21/Jan/09 09:23 AM
I attach a simple testcase. Database backup + restore is done through services api in this case, but it doesn't make a difference.
Sorry, I could not reproduce this bug.
I've used ISQL to perform all actions, cause Delphi is not acceptable to me. May be this is clearly windows case? In my original comment I exchanged count of tables and users (I updated it later). I create 300 tables and grant them to 100 users in the testcase, it seems that when the numbers are exchanged, the error is less likely. Try it again please with the replaced numbers, you may use a new script I attach. I can reproduce the error both at Windows and Linux servers (32-bit, default configuration) on condition the server variant is Superserver (can't reproduce it with Clasic). Remember to backup and restore the database before you revoke the grants.
dfw.epp is keeping is task_table[] pointer to it's internal static routines. The only exception from this rule is GRANT_privileges, which therefore was left not fixed in 1770.
Now all DB modifications in grant.epp happen in user (not system) transaction.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||