Changeset: a4f7f7011acd for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/a4f7f7011acd
Branch: default
Log Message:

merged with dec2025


diffs (22 lines):

diff --git a/sql/storage/bat/bat_logger.c b/sql/storage/bat/bat_logger.c
--- a/sql/storage/bat/bat_logger.c
+++ b/sql/storage/bat/bat_logger.c
@@ -1073,6 +1073,8 @@ snapshot_immediate_copy_file(stream *pla
        char *buf = NULL;
        stream *s = NULL;
        size_t to_copy;
+       allocator *ta = MT_thread_getallocator();
+       allocator_state ta_state = ma_open(ta);
 
        if (MT_stat(path, &statbuf) < 0) {
                GDKsyserror("stat failed on %s", path);
@@ -1080,9 +1082,6 @@ snapshot_immediate_copy_file(stream *pla
        }
        to_copy = (size_t) statbuf.st_size;
 
-       allocator *ta = MT_thread_getallocator();
-       allocator_state ta_state = ma_open(ta);
-
        s = open_rstream(path);
        if (!s) {
                GDKerror("%s", mnstr_peek_error(NULL));
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to