Changeset: 97a1a209934a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/97a1a209934a
Modified Files:
gdk/gdk_strimps.c
Branch: string_imprints
Log Message:
Use correct address to bitstrings
Specifically do not use the value of strimps.free because it is
updated by multiple threads.
diffs (12 lines):
diff --git a/gdk/gdk_strimps.c b/gdk/gdk_strimps.c
--- a/gdk/gdk_strimps.c
+++ b/gdk/gdk_strimps.c
@@ -655,7 +655,7 @@ STRMPcreate(BAT *b, BAT *s)
if ((h = STRMPcreateStrimpHeap(pb, s)) == NULL) {
return GDK_FAIL;
}
- dh = (uint64_t *)((uint8_t*)h->strimps.base + h->strimps.free +
b->hseqbase*8);
+ dh = (uint64_t *)h->strimps_base + b->hseqbase;
ncand = canditer_init(&ci, b, s);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list