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 dj...@apache.org on 2004/10/12 22:49:33 UTC

svn commit: rev 54695 - incubator/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile

Author: djd
Date: Tue Oct 12 13:49:33 2004
New Revision: 54695

Modified:
   incubator/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj
Log:
Fix Derby-38 - LOCKS should not be a reserved keyword
Patch from Mamta Satoor mamta@Remulak.Net


Modified: incubator/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj
==============================================================================
--- incubator/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj	(original)
+++ incubator/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj	Tue Oct 12 13:49:33 2004
@@ -1822,6 +1822,7 @@
 |	<LARGE: "large">
 |	<LENGTH: "length">
 |	<LEVEL: "level">
+|	<LOCKS: "locks">
 |	<LOCKSIZE: "locksize">
 |	<LOGGED: "logged">
 |       <MOD: "mod">
@@ -1903,7 +1904,6 @@
 |   <LCASE: "lcase">
 |   <LOCATE: "locate">
 |	<LOCK: "lock">
-|	<LOCKS: "locks">
 |	<MESSAGE_LOCALE: "message_locale">
 |	<METHOD: "method">
 |	<MODE: "mode">
@@ -11351,6 +11351,7 @@
 	|	tok = <LEVEL>
     |   tok = <LOCATE>
 	|	tok = <LOCK>
+	|	tok = <LOCKS>
 	|	tok = <LOCKSIZE>
 	|	tok = <LOGGED>
 	|	tok = <LONG>