[
http://issues.apache.org/jira/browse/DERBY-1582?page=comments#action_12427054 ]
Daniel John Debrunner commented on DERBY-1582:
----------------------------------------------
I get a conflict on the applying the patch, in RoutinePrivilegeInfo, due to
changes for DEBRY-1643. Thinking it was strange you would have to modify that
file I looked closer and saw that this code fragment and the resulting adding
the warning is repeated and probably should be pushed up into the super-class.
+ if (dd.addRemovePermissionsDescriptor( grant,
routinePermsDesc, grantee, tc)) {
+ privileges_revoked = true;
+
dd.getDependencyManager().invalidateFor(routinePermsDesc,
DependencyManager.REVOKE_EXECUTE_PRIVILEGE, lcc);
Something like
void addRemovePermissionsDescriptor(PermissionsDescritpor pd, String grantee,
TransactionController tc)
> REVOKE statement does not generate a warning when no privileges are revoked.
> ----------------------------------------------------------------------------
>
> Key: DERBY-1582
> URL: http://issues.apache.org/jira/browse/DERBY-1582
> Project: Derby
> Issue Type: Bug
> Components: SQL
> Affects Versions: 10.2.0.0
> Reporter: Daniel John Debrunner
> Assigned To: Deepa Remesh
> Attachments: d1582_v1.diff, d1582_v1.status
>
>
> SQL 2003 standard, section 12.7 <revoke statement>, item 17 under general
> rules indicates the statement completes with the condition 'warning ?
> privilege not revoked.' when no matching privilege is revoked.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira