Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16335/src/gdk

Modified Files:
        gdk_setop.mx 
Log Message:
fixed bug in directsemijoin code. We need to set the count and free
pointers (done by BATsetcount) before we can savely extend a bat via
BATextend and/or HEAPextend. If the free pointer isn't set we truncate the
mmaped file to a zero length file.


Index: gdk_setop.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_setop.mx,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- gdk_setop.mx        11 Jan 2008 10:37:00 -0000      1.60
+++ gdk_setop.mx        14 Jan 2008 15:03:54 -0000      1.61
@@ -528,6 +528,7 @@
                                BUN r1 = p1 + 65536;
                                if (r1 > q1) r1 = q1;
                                if (o + 65536 > BATcapacity(bn)){       
+                                       BATsetcount(bn, o);
                                        if (BATextend(bn, 
BATcapacity(bn)+65536) == NULL)
                                                goto bunins_failed; 
                                }


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to