Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30557
Modified Files:
Tag: GDK-2
gdk_bat.mx
Log Message:
Added asserts: the head and tail structures should not be identical
when we're about to overwrite the type info in one of them.
Index: gdk_bat.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_bat.mx,v
retrieving revision 1.181.4.9
retrieving revision 1.181.4.10
diff -u -d -r1.181.4.9 -r1.181.4.10
--- gdk_bat.mx 15 Aug 2007 09:37:18 -0000 1.181.4.9
+++ gdk_bat.mx 15 Aug 2007 13:07:06 -0000 1.181.4.10
@@ -672,11 +672,13 @@
if (bn == NULL)
return NULL;
if (ht != bn->htype) {
+ assert(bn->H != bn->T);
bn->htype = ht;
bn->hvarsized = ATOMvarsized(ht);
bn->hseqbase = b->hseqbase;
}
if (tt != bn->ttype) {
+ assert(bn->H != bn->T);
bn->ttype = tt;
bn->tvarsized = ATOMvarsized(tt);
bn->tseqbase = b->tseqbase;
-------------------------------------------------------------------------
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