Changeset: d265f166211b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/d265f166211b
Modified Files:
        gdk/gdk_string.c
Branch: default
Log Message:

Check the correct hash heap.


diffs (12 lines):

diff --git a/gdk/gdk_string.c b/gdk/gdk_string.c
--- a/gdk/gdk_string.c
+++ b/gdk/gdk_string.c
@@ -193,7 +193,7 @@ ustrPut(BAT *b, var_t *dst, const char *
        MT_rwlock_wrlock(&ustrbat->thashlock);
        MT_lock_set(&ustrbat->theaplock);
        assert(ustrbat->tvkey);
-       if (b->thash == (Hash *) 1)
+       if (ustrbat->thash == (Hash *) 1)
                (void) BATcheckhash_locked(ustrbat); /* load hash table */
 
        Heap *h = ustrbat->tvheap;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to