Update of /cvsroot/monetdb/pathfinder/runtime
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv24557/pathfinder/runtime
Modified Files:
Tag: Feb2009
ll_upwards.mx
Log Message:
With only 1 iter, the items/pres in the result should be sorted,
but they are apparently not.
Not setting the sortedness property seems to avoid
[ 2668437 ] PF runtime: parent step produces not/wrongly sorted result
https://sourceforge.net/tracker/index.php?func=detail&aid=2668437&group_id=56967&atid=482468
without harming any (other) Pathfinder/XQuery tests;
and seems to make all Xiraf test queries work.
Hence, I disable setting the tail-sorted property
of the ll_upwards results in the Feb2009 release branch,
but prevent propagation to the development trunk,
as I am not convinced that this is the proper fix.
Rather, we should check, why the result is not sorted
as we expect it to be ...
U ll_upwards.mx
Index: ll_upwards.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/ll_upwards.mx,v
retrieving revision 1.32.2.2
retrieving revision 1.32.2.3
diff -u -d -r1.32.2.2 -r1.32.2.3
--- ll_upwards.mx 19 Mar 2009 14:06:37 -0000 1.32.2.2
+++ ll_upwards.mx 19 Mar 2009 19:15:59 -0000 1.32.2.3
@@ -571,7 +571,15 @@
}
bn->tsorted = 0;
if (niters == 1) {
- bn->tsorted = GDK_SORTED;
+ /* StM:
+ * With only 1 iter, the item's/pre's in the result should be
sorted,
+ * but they are apparently not. Not setting the sortedness property
+ * seems to avoid
+ * [ 2668437 ] PF runtime: parent step produces not/wrongly sorted
result
+ *
https://sourceforge.net/tracker/index.php?func=detail&aid=2668437&group_id=56967&atid=482468
+ * without harming any (other) Pathfinder/XQuery tests.
+ */
+ /*bn->tsorted = GDK_SORTED;*/
BATkey(BATmirror(bn), 1);
}
*ret = bn;
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins