Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23799
Modified Files:
Tag: Nov2009
sql_gencode.mx
Log Message:
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.336.2.5
retrieving revision 1.336.2.6
diff -u -d -r1.336.2.5 -r1.336.2.6
--- sql_gencode.mx 22 Nov 2009 20:30:17 -0000 1.336.2.5
+++ sql_gencode.mx 2 Dec 2009 11:44:08 -0000 1.336.2.6
@@ -1177,7 +1177,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