Changeset: a257bb9341c6 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a257bb9341c6
Modified Files:
        gdk/gdk_strimps.c
Branch: string_imprints
Log Message:

Remove assertion


diffs (23 lines):

diff --git a/gdk/gdk_strimps.c b/gdk/gdk_strimps.c
--- a/gdk/gdk_strimps.c
+++ b/gdk/gdk_strimps.c
@@ -485,7 +485,7 @@ BATcheckstrimps(BAT *b)
         * not null and the number of bitstrings is equal to the bat
         * count.
         */
-       assert(!b->tstrimps || (b->tstrimps->strimps.free - HSIZE(((uint64_t 
*)b->tstrimps->strimps.base)[0]))/sizeof(uint64_t) <= b->batCount);
+       // assert(!b->tstrimps || (b->tstrimps->strimps.free - HSIZE(((uint64_t 
*)b->tstrimps->strimps.base)[0]))/sizeof(uint64_t) <= b->batCount);
        ret = STRIMP_COMPLETE(b);
        if (ret) {
                TRC_DEBUG(ACCELERATOR,
@@ -692,8 +692,9 @@ STRMPcreate(BAT *b, BAT *s)
        MT_lock_unset(&b->batIdxLock);
 
        /* The thread that reaches this point last needs to write the strimp to 
disk. */
-       if (STRIMP_COMPLETE(pb))
+       if (STRIMP_COMPLETE(pb)) {
                persistStrimp(pb);
+       }
 
        TRC_DEBUG(ACCELERATOR, "strimp creation took " LLFMT " usec\n", 
GDKusec()-t0);
        return GDK_SUCCEED;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to