Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8776
Modified Files:
pf_support.mx
Log Message:
Off-by-one error. This fixes bug [ 1854215 ] XQ: another insert bug.
Index: pf_support.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pf_support.mx,v
retrieving revision 1.272
retrieving revision 1.273
diff -u -d -r1.272 -r1.273
--- pf_support.mx 11 Dec 2007 15:09:54 -0000 1.272
+++ pf_support.mx 21 Dec 2007 12:31:52 -0000 1.273
@@ -3602,7 +3602,7 @@
# not enough space on the current page, see if there is space at
the
# start of the next
var nxtpgno := oid(lng(pageno) + 1);
- if ((int(nxtpgno) << REMAP_PAGE_BITS) <= docsize) {
+ if ((int(nxtpgno) << REMAP_PAGE_BITS) < docsize) {
var nxtpgid := map_pid_update.reverse().find(nxtpgno);
var nxtisoldpg := false;
if (map_pid.exist(nxtpgid)) {
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins