Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv650/src/backends/monet5
Modified Files:
sql_gencode.mx
Log Message:
propagated changes of Wednesday Dec 02 2009
from the Nov2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/12/02 - sjoerd: src/backends/monet5/sql_gencode.mx,1.336.2.6
Added NULL check.
Found by Coverity.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: sql_gencode.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_gencode.mx,v
retrieving revision 1.344
retrieving revision 1.345
diff -u -d -r1.344 -r1.345
--- sql_gencode.mx 29 Nov 2009 14:22:21 -0000 1.344
+++ sql_gencode.mx 2 Dec 2009 13:05:56 -0000 1.345
@@ -1184,7 +1184,8 @@
default:
showException(SQL,"sql","SQL2MAL: error
impossible\n");
}
- s->nr = getDestVar(q);
+ if (q)
+ s->nr = getDestVar(q);
break;
}
case st_group:{
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins