Changeset: 4f8530d6c7f9 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4f8530d6c7f9 Modified Files: MonetDB/src/gdk/gdk_search.mx Branch: Jun2010 Log Message:
do not (try to) build hash table on void-NIL column it does not make much sense to build a hash table on a void-NIL column, and our code most probably is not really capable of ding so correctly; hence, we better do not even try to do so diffs (14 lines): diff -r 0e60a1ba3c03 -r 4f8530d6c7f9 MonetDB/src/gdk/gdk_search.mx --- a/MonetDB/src/gdk/gdk_search.mx Wed Aug 11 09:55:57 2010 +0200 +++ b/MonetDB/src/gdk/gdk_search.mx Wed Aug 11 10:03:56 2010 +0200 @@ -394,6 +394,10 @@ cnt = BATcapacity(b); if (b->htype == TYPE_void) { + if (b->hseqbase == oid_nil) { + ALGODEBUG THRprintf(GDKout, "#BAThash: cannot create hash-table on void column.\n"); + return NULL; + } ALGODEBUG THRprintf(GDKout, "#BAThash: creating hash-table on void column..\n"); tpe = TYPE_void; _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list