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

Modified Files:
        physical.c 
Log Message:
-- For XRPC functions we know that the output order is [iter, pos].


Index: physical.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/physical.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- physical.c  14 Dec 2007 12:02:32 -0000      1.46
+++ physical.c  14 Dec 2007 14:12:13 -0000      1.47
@@ -3776,6 +3776,11 @@
 
     /* by default we don't know anything about the output ordering */
 
+    /* XRPC functions return the result in iter|pos order */
+    if (kind == alg_fun_call_xrpc) 
+        PFord_set_add (ret->orderings, sortby (schema.items[0].name,
+                                               schema.items[1].name));
+
     /* costs */
     ret->cost = loop->cost + param_list->cost + DEFAULT_COST;
 


-------------------------------------------------------------------------
SF.Net email is sponsored by:
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