Update of /cvsroot/monetdb/pathfinder/compiler/algebra/prop
In directory 
sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv2774/compiler/algebra/prop

Modified Files:
      Tag: XQFT
        prop_reqval.c 
Log Message:
propagated changes of Tuesday Jan 12 2010
from the development trunk to the XQFT branch

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2010/01/12 - sjoerd: compiler/algebra/prop/prop_reqval.c,1.60
  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.58.2.1
retrieving revision 1.58.2.2
diff -u -d -r1.58.2.1 -r1.58.2.2
--- prop_reqval.c       7 Jan 2010 15:54:07 -0000       1.58.2.1
+++ prop_reqval.c       12 Jan 2010 09:31:04 -0000      1.58.2.2
@@ -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

Reply via email to