Changeset: ace9edb47d1c for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/ace9edb47d1c
Modified Files:
        gdk/gdk_logger.c
Branch: Oct2020
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
@@ -3214,7 +3214,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
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to