Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4219/src/gdk
Modified Files:
gdk_search.mx
Log Message:
remove hash from view is just fine
Index: gdk_search.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_search.mx,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- gdk_search.mx 6 Mar 2008 12:15:24 -0000 1.77
+++ gdk_search.mx 6 Mar 2008 20:43:56 -0000 1.78
@@ -592,10 +592,7 @@
if (p)
hp = BBP_cache(p);
- if (hp && b->H->hash == hp->H->hash) {
- GDKerror("HASHremove: view-bat cannot remove parent
hash-table\n");
- assert(0);
- } else {
+ if (!hp || b->H->hash != hp->H->hash) {
HEAPfree(b->H->hash->heap);
if (b->H->hash->heap->storage & STORE_MMAP)
HEAPdelete(b->H->hash->heap,
BBP_physical(b->batCacheid), (b->batCacheid > 0) ? "hhash" : "thash");
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins