Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22982
Modified Files:
Tag: XQuery_0-20
ll_upwards.mx
Log Message:
fixing BUG
[ 1841747 ] preceding-sibling failure
http://sourceforge.net/tracker/index.php?func=detail&aid=1841747&group_id=56967&atid=482468
ll_preceding relied on properties that ll_parent did not set completely in all
cases;
in case the result of ll_parent is as long at the input, i.e., each item found
a (per iter)
unique item, then the ll_parent result head (iter) shoudl inherit the
properties of the input
iter_bat's tail.
Index: ll_upwards.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/ll_upwards.mx,v
retrieving revision 1.24
retrieving revision 1.24.2.1
diff -u -d -r1.24 -r1.24.2.1
--- ll_upwards.mx 11 Sep 2007 22:00:42 -0000 1.24
+++ ll_upwards.mx 1 Dec 2007 23:07:00 -0000 1.24.2.1
@@ -532,6 +532,11 @@
BATsetcount(bn, m);
bn->batBuns->free = m*sizeof(duple);
bn->hsorted = 1;
+ if (BATcount(bn) == BATcount(iter_bat)) {
+ bn->hdense = TRUE;
+ BATseqbase(bn, iter_bat->tseqbase);
+ BATkey(bn, iter_bat->tkey);
+ }
bn->tsorted = 0;
if (niters == 1) {
bn->tsorted = 1;
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins