Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4002
Modified Files:
Tag: XQuery_0-18
pftijah.mx
Log Message:
- print the input-bat and input-bat.info() of problem ssort() when the ssort()
has failed.
- approve temporary offsetindex() signature.
Index: pftijah.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/modules/pftijah/pftijah.mx,v
retrieving revision 1.134.2.8
retrieving revision 1.134.2.9
diff -u -d -r1.134.2.8 -r1.134.2.9
--- pftijah.mx 10 Jun 2007 17:10:48 -0000 1.134.2.8
+++ pftijah.mx 11 Jun 2007 08:45:43 -0000 1.134.2.9
@@ -3187,8 +3187,9 @@
var tmp := tids.kdiff(bat("tj_" + ftiName + "_pfpre"));
# BUG:1732596: possible cause(1) here:
# tmp is a BAT[oid,oid]
- tmp := tmp.reverse().ssort();
- var termindex := tmp.hmark([EMAIL
PROTECTED]).offsetindex(bat(_tj_TermBat(ftiName)).count() + 1,tmp,tmp.info());
+ var sortinput := tmp.reverse();
+ tmp := sortinput.ssort();
+ var termindex := tmp.hmark([EMAIL
PROTECTED]).offsetindex(bat(_tj_TermBat(ftiName)).count() +
1,sortinput,sortinput.info());
var terms := tmp.tmark([EMAIL PROTECTED]);
# create _TermIndex and _Terms here
termindex.persists(true).bbpname("tj_" + ftiName +
"_TermIndex");
@@ -3206,8 +3207,9 @@
tmp := tids.semijoin(bat("tj_" + ftiName + "_pfpre"));
# BUG:1732596: possible cause(2) here:
# tmp is a BAT[oid,oid]
- tmp := tmp.reverse().ssort();
- var tagindex := tmp.hmark([EMAIL
PROTECTED]).offsetindex(bat(_tj_TagBat(ftiName)).count() + 1,tmp,tmp.info());
+ sortinput := tmp.reverse();
+ tmp := sortinput.ssort();
+ var tagindex := tmp.hmark([EMAIL
PROTECTED]).offsetindex(bat(_tj_TagBat(ftiName)).count() +
1,sortinput,sortinput.info());
var tags := tmp.tmark([EMAIL PROTECTED]);
# create _Tags and _Tagindex here
tagindex.persists(true).bbpname("tj_" + ftiName + "_TagIndex");
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins