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

Modified Files:
      Tag: XQuery_0-18
        pf_support.mx 
Log Message:
Fix for replacing the tail of a document by something bigger.


Index: pf_support.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pf_support.mx,v
retrieving revision 1.244.2.4
retrieving revision 1.244.2.5
diff -u -d -r1.244.2.4 -r1.244.2.5
--- pf_support.mx       13 Jul 2007 08:21:36 -0000      1.244.2.4
+++ pf_support.mx       26 Jul 2007 11:04:54 -0000      1.244.2.5
@@ -3807,6 +3807,9 @@
                   pre := oid(docsize);
                 }
               }
+              if ((int(pre) >= docsize) and (rid <= pagelast)) {
+                holesize :+= (int(pagelast) - int(rid)) + 1;
+              }
             }
             # note: holeatstart = 0 if the insert point isn't at the start of 
the hole at the end of the page
             if ((holesize + holeatstart) < insertsize) {


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to