Changeset: 17ef1acd5f97 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/17ef1acd5f97
Modified Files:
        gdk/gdk_logger.c
Branch: Jul2021
Log Message:

fixed issue in logger where bat gets replace within a transaction. We now 
properly check the current transaction id.


diffs (20 lines):

diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c
--- a/gdk/gdk_logger.c
+++ b/gdk/gdk_logger.c
@@ -601,7 +601,7 @@ la_bat_update_count(logger *lg, log_id i
                HASHloop_int(cni, cni.b->thash, p, &id) {
                        lng lid = *(lng *) Tloc(lg->catalog_lid, p);
 
-                       if (lid != lng_nil && lid <= lg->saved_tid)
+                       if (lid != lng_nil && lid <= lg->tid)
                                break;
                        cp = p;
                }
@@ -616,7 +616,6 @@ la_bat_update_count(logger *lg, log_id i
                MT_rwlock_rdunlock(&cni.b->thashlock);
        }
        return GDK_SUCCEED;
-
 }
 
 static gdk_return
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to