Update of /cvsroot/monetdb/pathfinder/compiler/algebra/prop
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16015/algebra/prop

Modified Files:
        prop_req_node.c 
Log Message:
-- Removed restrictive consistency check.
   (SQL code generation produces step operators with iter columns of type node.)


U prop_req_node.c
Index: prop_req_node.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/prop/prop_req_node.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- prop_req_node.c     4 Apr 2008 09:45:17 -0000       1.4
+++ prop_req_node.c     4 Apr 2008 15:38:03 -0000       1.5
@@ -480,11 +480,19 @@
 
         case la_step:
         case la_guide_step:
-            assert ((type_of (n, n->sem.step.iter) & aat_node) == 0);
         {
             PFarray_t *new_map = PFarray (sizeof (req_node_t), 1),
                       *old_map;
 
+            map = find_map (MAP_LIST(n), n->sem.step.iter);
+
+            /* inherit the properties of the output */
+            if (map) {
+                req_node_t map_item = *map;
+                map_item.col = n->sem.step.iter;
+                ADD(new_map, map_item);
+            }
+
             map = find_map (MAP_LIST(n), n->sem.step.item_res);
 
             /* inherit the properties of the output */


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to