Update of /cvsroot/monetdb/pathfinder/runtime
In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv1198

Modified Files:
      Tag: Nov2009
        pf_support.mx 
Log Message:
Check result of BATdescriptor.
Found by Coverity.


Index: pf_support.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pf_support.mx,v
retrieving revision 1.336.4.3
retrieving revision 1.336.4.4
diff -u -d -r1.336.4.3 -r1.336.4.4
--- pf_support.mx       7 Jan 2010 15:18:05 -0000       1.336.4.3
+++ pf_support.mx       11 Jan 2010 09:52:43 -0000      1.336.4.4
@@ -7410,6 +7410,7 @@
                "mposjoin: third input BAT (ws_item) must not be empty.\n");
 
        the_cont_bat = BATdescriptor(*(bat*)Tloc(ws_item, BUNfirst(ws_item)));
+    ERRORcheck(the_cont_bat == NULL, "mposjoin: cannot find BAT.\n");
        tt = the_cont_bat->ttype;
        BBPunfix(the_cont_bat->batCacheid);
        the_cont_bat = NULL;


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to