Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21127/runtime
Modified Files:
Tag: XQuery_0-22
pf_support.mx
Log Message:
fixing re-opened
[ 1850772 ] XQ: [preceding and following]-sibling:: bug
http://sourceforge.net/tracker/index.php?func=detail&aid=1850772&group_id=56967&atid=482468
in case the "unique items" optimization in the child-step implementation is
applied,
we need to make sure that we keep the "end_ctx" BAT aligned with the "iter" &
"item" BATs.
... test needs to be adapted to the Stable version of pathfinder, first, before
it can be added ...
Index: pf_support.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pf_support.mx,v
retrieving revision 1.277
retrieving revision 1.277.6.1
diff -u -d -r1.277 -r1.277.6.1
--- pf_support.mx 11 Jan 2008 10:47:20 -0000 1.277
+++ pf_support.mx 21 Feb 2008 21:41:24 -0000 1.277.6.1
@@ -1436,6 +1436,9 @@
.leftjoin(unq_items.mark([EMAIL
PROTECTED]));
item := unq_items.mark([EMAIL PROTECTED]).reverse();
iter := item.mirror();
+ if (end_ctx.count() > 0) {
+ end_ctx :=
unq_items.leftfetchjoin(end_ctx).tmark([EMAIL PROTECTED]);
+ }
# we now certainly have iter|item ordering
order := and(order,2);
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins