Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9180

Modified Files:
      Tag: XQuery_0-20
        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.267.2.4
retrieving revision 1.267.2.5
diff -u -d -r1.267.2.4 -r1.267.2.5
--- pf_support.mx       11 Dec 2007 13:54:20 -0000      1.267.2.4
+++ pf_support.mx       21 Dec 2007 12:32:28 -0000      1.267.2.5
@@ -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

Reply via email to