db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mamta Satoor <ma...@Remulak.Net>
Subject [PATCH] for Derby-38 (Make LOCKS as non-reserved keyword in Derby since it is not a reserved keyword in the SQL standards)
Date Mon, 11 Oct 2004 19:37:23 GMT
Hi,

This patch is to make LOCKS an non-reserved keyword to match the SQL
standards.

thanks,
Mamta

Index: java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj
===================================================================
--- java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj
(revision 54108)

+++ java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj (working
copy)
@@ -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>


Mime
View raw message