You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by ba...@apache.org on 2006/07/24 22:59:04 UTC

svn commit: r425184 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj

Author: bandaram
Date: Mon Jul 24 13:59:04 2006
New Revision: 425184

URL: http://svn.apache.org/viewvc?rev=425184&view=rev
Log:
Fix a typo in sqlgrammar. REVOKE statement needs DD_VERSION_DERBY_10_2 or higher not 10_1 as in the code. Other GRANT/REVOKE statements correctly require DD_VERSION_DERBY_10_2 in the code.

Submitted by Satheesh Bandaram(bandaram@gmail.com)

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj?rev=425184&r1=425183&r2=425184&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj Mon Jul 24 13:59:04 2006
@@ -12112,7 +12112,7 @@
 {
     <REVOKE>
       {
-          checkVersion( DataDictionary.DD_VERSION_DERBY_10_1, "REVOKE");
+          checkVersion( DataDictionary.DD_VERSION_DERBY_10_2, "REVOKE");
           checkSqlStandardAccess( "REVOKE");
       }
     ( node = tableRevokeStatement() | node = routineRevokeStatement() )