[ http://issues.apache.org/jira/browse/DERBY-1582?page=all ]

Deepa Remesh updated DERBY-1582:
--------------------------------

    Attachment: d1582_v2_with_tests.diff

Attaching patch 'd1582_v2_with_tests.diff' which raises a warning when no 
privileges are revoked by the revoke statement for a grantee. This patch 
handles the case when multiple grantees are specified and raises a warning for 
each grantee. It is same as the earlier v2 patch. It only adds additional tests 
suggested by Mamta. DERBY-1538 has handled the cases and added the tests I 
mentioned in "2) When a privilege is found but it cannot be revoked". So I have 
only added additional tests for revoking routine privileges. derbyall ran with 
no new failures.

Please take a look at this patch. Thanks.

> 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.1.0
>            Reporter: Daniel John Debrunner
>         Assigned To: Deepa Remesh
>         Attachments: d1582_v1.diff, d1582_v1.status, d1582_v2.diff, 
> d1582_v2.status, d1582_v2_with_tests.diff
>
>
> 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

        

Reply via email to