Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv13125/src/backends/monet5

Modified Files:
        sql_gencode.mx 
Log Message:
propagated changes of Sunday Nov 08 2009 - Monday Nov 09 2009
from the Nov2009 branch to the development trunk

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/11/08 - mlkersten: src/backends/monet5/sql_gencode.mx,1.336.2.3
  Handling og Coverty complaints.
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: sql_gencode.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_gencode.mx,v
retrieving revision 1.339
retrieving revision 1.340
diff -u -d -r1.339 -r1.340
--- sql_gencode.mx      9 Oct 2009 20:50:00 -0000       1.339
+++ sql_gencode.mx      8 Nov 2009 23:57:04 -0000       1.340
@@ -880,7 +880,9 @@
                                        showException(SQL,"sql","SQL2MAL: error 
impossible\n");
                                }
                        }
-                       s->nr = getDestVar(q);
+                       if ( q )
+                               s->nr = getDestVar(q);
+                       else s->nr = newTmpVariable(mb, TYPE_any);
                }
                        break;
                case st_uselect2:


------------------------------------------------------------------------------
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