Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20063
Modified Files:
Tag: xrpcdemo
pathfinder.mx
Log Message:
- a more general fix for the ws_docfilter() problem on the temporary XML
fragments created (multialed) by XRPC: set docid to NIL in
frag_root[docid,NID] and skip docfilter when NIL docids are seen
(ws_docfilter makes sure that nodes from deleted documents in some
document collection are fitered out of the index lookup results)
U pathfinder.mx
Index: pathfinder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
retrieving revision 1.416.2.1.2.16
retrieving revision 1.416.2.1.2.17
diff -u -d -r1.416.2.1.2.16 -r1.416.2.1.2.17
--- pathfinder.mx 17 Jun 2008 16:32:20 -0000 1.416.2.1.2.16
+++ pathfinder.mx 17 Jun 2008 23:05:33 -0000 1.416.2.1.2.17
@@ -2592,6 +2592,7 @@
var isolate := (ttype(map_pid) = oid);
if (not(isolate)) {
any_pre := any_pre.tsort(); # no-op for read-only nsloc element index
+ if (isnil(min(reverse(frag_root)))) return any_pre;
} else if (any_pre.htype() = void) {
any_pre := any_pre.leftfetchjoin(nid_rid).[swizzle](map_pid).tsort();
} else {
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins