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

enable also 2-byte & 1-byte BUNs for hash mask & linked list

seem to work fine with testing


diffs (14 lines):

diff --git a/gdk/gdk_search.c b/gdk/gdk_search.c
--- a/gdk/gdk_search.c
+++ b/gdk/gdk_search.c
@@ -94,8 +94,8 @@
 
 static int
 HASHwidth(BUN hashsize){
-       //if (hashsize <= BUN1_NONE) return BUN1; does not make much sense
-       //if (hashsize <= BUN2_NONE) return BUN2;
+       if (hashsize <= BUN1_NONE) return BUN1;
+       if (hashsize <= BUN2_NONE) return BUN2;
        if (hashsize <= BUN4_NONE) return BUN4;
        (void) hashsize;
        return BUN8;
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to