Changeset: 3b0ffa185717 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/3b0ffa185717
Modified Files:
        gdk/gdk_logger.c
Branch: Dec2025
Log Message:

When running in memory, don' try to log to the WAL.
Fixes #8044.


diffs (30 lines):

diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c
--- a/gdk/gdk_logger.c
+++ b/gdk/gdk_logger.c
@@ -3150,8 +3150,6 @@ log_constant(logger *lg, int type, const
 
        if (LOG_DISABLED(lg) || !nr) {
                /* logging is switched off */
-               if (lg_updated_set_bit(lg, id, 0) != GDK_SUCCEED)
-                       return GDK_FAIL;
                if (nr) {
                        log_lock(lg);
                        ok = la_bat_update_count(lg, id, offset + cnt, lg->tid);
@@ -3258,8 +3256,6 @@ internal_log_bat(logger *lg, BAT *b, log
 
        if (LOG_DISABLED(lg) || !nr) {
                /* logging is switched off */
-               if (lg_updated_set_bit(lg, id, 0) != GDK_SUCCEED)
-                       return GDK_FAIL;
                if (nr)
                        return la_bat_update_count(lg, id, offset + cnt, 
lg->tid);
                return GDK_SUCCEED;
@@ -3484,8 +3480,6 @@ log_delta(logger *lg, BAT *uid, BAT *uva
 
        if (LOG_DISABLED(lg)) {
                /* logging is switched off */
-               if (lg_updated_set_bit(lg, id, 0) != GDK_SUCCEED)
-                       return GDK_FAIL;
                log_unlock(lg);
                return GDK_SUCCEED;
        }
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to