Update of /cvsroot/monetdb/sql/src/server
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17484/src/server

Modified Files:
      Tag: SQL_2-18
        sql_parser.mx 
Log Message:
fix for the not/not/not bug in parser


Index: sql_parser.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_parser.mx,v
retrieving revision 1.247.2.1
retrieving revision 1.247.2.2
diff -u -d -r1.247.2.1 -r1.247.2.2
--- sql_parser.mx       12 Aug 2007 21:34:38 -0000      1.247.2.1
+++ sql_parser.mx       19 Aug 2007 08:26:58 -0000      1.247.2.2
@@ -3119,6 +3119,11 @@
                          append_symbol(l, $2);
                          $$ = _symbol_create_list( SQL_UNOP, l ); }
  |  '(' scalar_exp ')'         { $$ = $2; }
+ | NOT scalar_exp      { dlist *l = L();
+                         append_list(l, 
+                               append_string(L(), sa_strdup(SA, "not")));
+                         append_symbol(l, $2);
+                         $$ = _symbol_create_list( SQL_UNOP, l ); }
  ;
 
 scalar_exp:


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to