Update of /cvsroot/monetdb/pathfinder/compiler/algebra/prop
In directory
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv1524/compiler/algebra/prop
Modified Files:
prop_reqval.c
Log Message:
propagated changes of Monday Jan 11 2010 - Tuesday Jan 12 2010
from the Nov2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2010/01/11 - sjoerd: compiler/algebra/prop/prop_reqval.c,1.57.4.3
Check result of find_map.
Found by Coverity.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: prop_reqval.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/prop/prop_reqval.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- prop_reqval.c 7 Jan 2010 15:24:27 -0000 1.59
+++ prop_reqval.c 12 Jan 2010 09:22:10 -0000 1.60
@@ -670,8 +670,10 @@
/* overrule any previous negative setting
(which may be introduced by multiple parent edges) */
map = find_map (MAP_LIST(n), n->sem.select.col);
- map->sel_name = true;
- map->sel_val = true;
+ if (map) {
+ map->sel_name = true;
+ map->sel_val = true;
+ }
break;
case la_pos_select:
------------------------------------------------------------------------------
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