Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 25415 invoked from network); 24 Jul 2006 20:59:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Jul 2006 20:59:25 -0000 Received: (qmail 48000 invoked by uid 500); 24 Jul 2006 20:59:25 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 47976 invoked by uid 500); 24 Jul 2006 20:59:25 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 47965 invoked by uid 99); 24 Jul 2006 20:59:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 13:59:25 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 13:59:24 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id D94771A981A; Mon, 24 Jul 2006 13:59:04 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r425184 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj Date: Mon, 24 Jul 2006 20:59:04 -0000 To: derby-commits@db.apache.org From: bandaram@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060724205904.D94771A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 @@ { { - checkVersion( DataDictionary.DD_VERSION_DERBY_10_1, "REVOKE"); + checkVersion( DataDictionary.DD_VERSION_DERBY_10_2, "REVOKE"); checkSqlStandardAccess( "REVOKE"); } ( node = tableRevokeStatement() | node = routineRevokeStatement() )