Update of /cvsroot/monetdb/sql/src/server
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv5481/src/server

Modified Files:
        sql_parser.mx 
Log Message:
propagated changes of Monday Aug 03 2009 - Tuesday Aug 04 2009
from the Aug2009 branch to the development trunk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/08/03 - nielsnes: src/server/sql_parser.mx,1.312.2.1
solved bug in handling not (i)like
allow '*' in selection with other (constant) column expressions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: sql_parser.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_parser.mx,v
retrieving revision 1.312
retrieving revision 1.313
diff -u -d -r1.312 -r1.313
--- sql_parser.mx       1 Aug 2009 14:47:45 -0000       1.312
+++ sql_parser.mx       4 Aug 2009 07:24:32 -0000       1.313
@@ -2930,7 +2930,6 @@
 
 selection:
     column_exp_commalist
- |  '*'                        { $$ = NULL; }
  ;
 
 table_exp:
@@ -3544,7 +3543,12 @@
  ;
 
 column_exp:
-    ident '.' '*'
+    '*'
+               { dlist *l = L();
+                 append_string(l, NULL);
+                 append_string(l, NULL);
+                 $$ = _symbol_create_list( SQL_TABLE, l ); }
+ |  ident '.' '*'
                { dlist *l = L();
                  append_string(l, $1);
                  append_string(l, NULL);


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to