Update of /cvsroot/monetdb/pathfinder/compiler/sql
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv32656/compiler/sql

Modified Files:
        lalg2sql.brg sqlprint.c 
Log Message:
-- confusing wherelist with groupby list 


Index: lalg2sql.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/sql/lalg2sql.brg,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- lalg2sql.brg        13 Feb 2007 11:58:13 -0000      1.30
+++ lalg2sql.brg        13 Feb 2007 14:34:42 -0000      1.31
@@ -2296,7 +2296,6 @@
                         correlation_name(e_crrl->name)
                        )
                       ),
-                      
                       NULL,
                       NULL
                      );
@@ -2590,7 +2589,7 @@
        
         if (sql_stmt->kind == sql_select) {
             sql_stmt->child[0] = selectlist1;
-            sql_stmt->child[3] = 
+            sql_stmt->child[2] = 
                 (!wherelist)?
                 NULL:
                 wherelist;

Index: sqlprint.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/sql/sqlprint.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- sqlprint.c  13 Feb 2007 11:58:13 -0000      1.15
+++ sqlprint.c  13 Feb 2007 14:34:42 -0000      1.16
@@ -296,7 +296,7 @@
                 sqlprintf(" WHERE ");
                 print_expr( n->child[2]);
             }
-            if( n->child[4]) {
+            if( n->child[3]) {
                 sqlprintf(" GROUP BY ");
                 print_clm_list( n->child[3] );
             }


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to