Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv5838
Modified Files:
Tag: XQuery_0-16
pf_support.mx
Log Message:
Correctly map a new PRE value to an old PRE value (using RID value and
MAP_PID table). This fixes a crash when you do, in a single query,
first a delete which causes a page to be freed and then another delete
of a node physically after the first.
Index: pf_support.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pf_support.mx,v
retrieving revision 1.190.2.10
retrieving revision 1.190.2.11
diff -u -d -r1.190.2.10 -r1.190.2.11
--- pf_support.mx 12 Feb 2007 16:53:20 -0000 1.190.2.10
+++ pf_support.mx 27 Feb 2007 14:51:16 -0000 1.190.2.11
@@ -3283,7 +3283,7 @@
if (rid_nid_update.exist(rid)) {
nid := rid_nid_update.find(rid);
} else {
- nid := pre_nid.find(newpre);
+ nid := pre_nid.find(swizzle(rid, map_pid));
}
} else {
nid := rid_nid.find(rid);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins