Changeset: c4cea2f98d23 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c4cea2f98d23
Modified Files:
        gdk/gdk_search.c
Branch: default
Log Message:

revert creating hash based on BAT count instead of capacity.
More code needs to be changed to allow for this.


diffs (12 lines):

diff --git a/gdk/gdk_search.c b/gdk/gdk_search.c
--- a/gdk/gdk_search.c
+++ b/gdk/gdk_search.c
@@ -404,7 +404,7 @@ BAThash(BAT *b, BUN masksize)
                                h = NULL;
                        }
                        /* create the hash structures */
-                       if ((h = HASHnew(hp, ATOMtype(b->ttype), 
(b->S->restricted==BAT_READ)?BATcount(b):BATcapacity(b), mask, BATcount(b))) == 
NULL) {
+                       if ((h = HASHnew(hp, ATOMtype(b->ttype), 
BATcapacity(b), mask, BATcount(b))) == NULL) {
 
                                MT_lock_unset(&GDKhashLock(abs(b->batCacheid)), 
"BAThash");
                                GDKfree(hp->filename);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to