Changeset: 5886c4f0abcc for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/5886c4f0abcc
Modified Files:
gdk/gdk_logger.c
Branch: pax-log
Log Message:
Test should be assert.
diffs (13 lines):
diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c
--- a/gdk/gdk_logger.c
+++ b/gdk/gdk_logger.c
@@ -614,7 +614,8 @@ log_read_updates(logger *lg, trans *tr,
if (res == LOG_OK && tr_grow(tr) == GDK_SUCCEED) {
tr->changes[tr->nr].type = l->flag;
- if (l->flag==LOG_UPDATE_BULK && cands && offset == -1) {
+ if (l->flag==LOG_UPDATE_BULK && offset == -1) {
+ assert(cands); // bat r is part of a group of
bats logged together.
struct canditer ci;
canditer_init(&ci, NULL, *cands);
const oid first = canditer_peek(&ci);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]