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

Modified Files:
        planner.c 
Log Message:
-- align physical planning for attribute steps


U planner.c
Index: planner.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/planner.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- planner.c   17 Mar 2008 17:41:11 -0000      1.55
+++ planner.c   26 Mar 2008 11:20:47 -0000      1.56
@@ -1492,28 +1492,16 @@
         /* generate plans for each input and each output ordering */
 
         for (unsigned int k = 0; k < PFarray_last (ordered); k++)
-            /* the evaluation of the attribute axis keeps the input order */
-            if (n->sem.step.spec.axis == alg_attr)
+            for (unsigned short o = 0; o < 2; o++)
                 add_plan (
                     ret,
                     llscjoin (
                         *(plan_t **) PFarray_at (ordered, k),
                         n->sem.step.spec,
                         in[i],
-                        out[i],
+                        out[o],
                         n->sem.step.iter,
                         n->sem.step.item));
-            else
-                for (unsigned short o = 0; o < 2; o++)
-                    add_plan (
-                        ret,
-                        llscjoin (
-                            *(plan_t **) PFarray_at (ordered, k),
-                            n->sem.step.spec,
-                            in[i],
-                            out[o],
-                            n->sem.step.iter,
-                            n->sem.step.item));
     }
 
     return ret;


-------------------------------------------------------------------------
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