Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16:/tmp/cvs-serv21153/runtime

Modified Files:
        pathfinder.mx 
Log Message:

fixed (apparently never tested) new pf:docname() / ws_docname()
by replacing all "tmark()" by "hmark()" and vice-versa.

... apparently, even the inventor of "hmark()" and "tmark()"
seems to have problems recalling their excat semantics ...

This should hopefully also fix the TPoX deletion queries on collections...


Index: pathfinder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
retrieving revision 1.350
retrieving revision 1.351
diff -u -d -r1.350 -r1.351
--- pathfinder.mx       23 Apr 2007 07:36:13 -0000      1.350
+++ pathfinder.mx       24 Apr 2007 08:36:52 -0000      1.351
@@ -3171,9 +3171,9 @@
 {
     var id_conts := get_container(id_kind);
     var id_roots := get_root(ws, id_item, id_kind, 
id_conts).mposjoin(id_conts, ws.fetch(PRE_NID));
-    var res_cont := id_roots.tmark([EMAIL PROTECTED]).leftfetchjoin(id_conts);
-    var res_iter := id_roots.tmark([EMAIL PROTECTED]).leftfetchjoin(id_iter);
-    var res_docid:= id_roots.hmark([EMAIL PROTECTED]).mvaljoin(res_cont, 
ws.fetch(FRAG_ROOT)).tmark([EMAIL PROTECTED]);
+    var res_cont := id_roots.hmark([EMAIL PROTECTED]).leftfetchjoin(id_conts);
+    var res_iter := id_roots.hmark([EMAIL PROTECTED]).leftfetchjoin(id_iter);
+    var res_docid:= id_roots.tmark([EMAIL PROTECTED]).mvaljoin(res_cont, 
ws.fetch(FRAG_ROOT)).tmark([EMAIL PROTECTED]);
     var res := reverse(res_iter).leftfetchjoin(res_docid);
     lock_set(pf_short);
     var err := CATCH(res := res.leftjoin(doc_name));


-------------------------------------------------------------------------
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

Reply via email to