Greetings developers,

 CommonRDBMSAdapter#revokePermission(Connection,Uri,NodePermission) is
broken in CVS [1] since the fix for Bugzilla id #31820 [2].

The applied patch removed the right parenthesis from the SQL string
(all remaining right-parens are in Java only).

SQL statements issued from revokePermission will start like this:
"delete from PERMISSIONS where PERMISSIONS.OBJECT_ID in (select"
                                                        ^

...but end like this (example with NULL revision):
"and VERSION_NO IS NULL"

NB the missing right parenthesis at the end of the SQL string.


I have reproduced this with Oracle9 but it should be a consistent failure for all platforms. This has also been spotted on the user list. [3]


Could someone please reapply the right parenthesis to the SQL-string or would you like a patch (if so, unified or context diff?) or maybe a re-open of the bugzilla issue?

TIA & regards,
 Martin

[1] CVS update at 2005-04-05T19:00 GMT+1
[2] http://issues.apache.org/bugzilla/show_bug.cgi?id=31820
[3] http://www.mail-archive.com/[email protected]/msg09999.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to