Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12367
Modified Files:
Tag: GDK-2
gdk_bat.mx
Log Message:
Don't remap void columns.
Index: gdk_bat.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_bat.mx,v
retrieving revision 1.181.4.12
retrieving revision 1.181.4.13
diff -u -d -r1.181.4.12 -r1.181.4.13
--- gdk_bat.mx 17 Aug 2007 08:49:56 -0000 1.181.4.12
+++ gdk_bat.mx 17 Aug 2007 11:45:06 -0000 1.181.4.13
@@ -712,8 +712,8 @@
} else if (bunstocopy < 0) {
/* case (3): just copy the heaps; if possible with
copy-on-write VM support */
int remap = writable == 2;
- int hremap = remap && BAThrestricted(b) != BAT_WRITE;
- int tremap = remap && BATtrestricted(b) != BAT_WRITE;
+ int hremap = remap && BAThrestricted(b) != BAT_WRITE &&
ht != TYPE_void;
+ int tremap = remap && BATtrestricted(b) != BAT_WRITE &&
tt != TYPE_void;
int hvremap = hremap && ATOMstorage(ht) == TYPE_str &&
!GDK_ELIMDOUBLES(b->H->vheap);
int tvremap = tremap && ATOMstorage(tt) == TYPE_str &&
!GDK_ELIMDOUBLES(b->T->vheap);
Heap bhhp, bthp, hhp, thp;
-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins