Changeset: 35475ecb7ec6 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/35475ecb7ec6
Modified Files:
gdk/gdk_logger.c
Branch: Jun2020
Log Message:
Fix comparison.
If we first skip freed bats with lid > save_id, we should then
resubmit those same bats for the next try.
diffs (12 lines):
diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c
--- a/gdk/gdk_logger.c
+++ b/gdk/gdk_logger.c
@@ -3183,7 +3183,7 @@ bm_commit(logger *lg, lng save_id)
BATloop(lg->freed, p, q) {
lng lid = lids[p];
- if (lid < save_id && (
+ if (lid > save_id && (
BUNappend(nfreed, bids+p, false) != GDK_SUCCEED
||
BUNappend(nfreed_lid, &lid, false) !=
GDK_SUCCEED)) {
logbat_destroy(n);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]