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

Modified Files:
        sql_parser.mx 
Log Message:
propagated changes of Thursday Jul 10 2008 - Monday Jul 14 2008
from the SQL_2-24 branch to the development trunk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/07/10 - nielsnes: src/server/sql_parser.mx,1.283.2.2
fixed support for IS NULL in selection
fixed bug in groupby and selection with constants (old bin alg only)
fixed bug in range join rewrites
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: sql_parser.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_parser.mx,v
retrieving revision 1.284
retrieving revision 1.285
diff -u -d -r1.284 -r1.285
--- sql_parser.mx       16 Jun 2008 09:23:25 -0000      1.284
+++ sql_parser.mx       14 Jul 2008 07:57:18 -0000      1.285
@@ -87,6 +87,8 @@
        SQL_DEFAULT,
        SQL_NOT_NULL,
        SQL_NULL,
+       SQL_IS_NULL,
+       SQL_IS_NOT_NULL,
        SQL_NULLIF,
        SQL_UNIQUE,
        SQL_PRIMARY_KEY,
@@ -3136,8 +3138,8 @@
  ;
 
 test_for_null:
-    scalar_exp IS NOT sqlNULL { $$ = _symbol_create_symbol( SQL_NOT_NULL, $1 
);}
- |  scalar_exp IS sqlNULL     { $$ = _symbol_create_symbol( SQL_NULL, $1 ); }
+    scalar_exp IS NOT sqlNULL { $$ = _symbol_create_symbol( SQL_IS_NOT_NULL, 
$1 );}
+ |  scalar_exp IS sqlNULL     { $$ = _symbol_create_symbol( SQL_IS_NULL, $1 ); 
}
  ;
 
 in_predicate:


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to