Update of /cvsroot/monetdb/sql/src/backends/monet4
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12256/src/backends/monet4

Modified Files:
        sql_gencode.mx 
Log Message:
fixes for compilation (initialize variables)


Index: sql_gencode.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet4/sql_gencode.mx,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -d -r1.165 -r1.166
--- sql_gencode.mx      6 Jan 2008 13:41:55 -0000       1.165
+++ sql_gencode.mx      7 Jan 2008 21:47:39 -0000       1.166
@@ -598,7 +598,7 @@
                case st_select2:
                case st_uselect2:
                case st_join2:{
-                       int l, r1, r2, ls = 0, hs = 0, rs = 0;
+                       int l, r1 = 0, r2 = 0, ls = 0, hs = 0, rs = 0;
                        char *bits = NULL;
                        char *cmd, *tpe = NULL;
 
@@ -630,12 +630,8 @@
 
                                if (ls) 
                                        r1 = 
backend_dumpstmt_(s->op2.stval->op2.stval, nr, sql);
-                               else
-                                       r1 = 0;
                                if (hs)
                                        r2 = 
backend_dumpstmt_(s->op3.stval->op2.stval, nr, sql);
-                               else
-                                       r2 = 0;
                                cmd = "bandjoin";
                        }
                        switch (s->flag) {


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to