Changeset: c0d222c1da93 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/c0d222c1da93
Modified Files:
        gdk/gdk_bat.c
Branch: Sep2022
Log Message:

Fix extension.


diffs (14 lines):

diff --git a/gdk/gdk_bat.c b/gdk/gdk_bat.c
--- a/gdk/gdk_bat.c
+++ b/gdk/gdk_bat.c
@@ -2180,8 +2180,8 @@ backup_new(Heap *hp, bool lock)
        struct stat st;
 
        /* check for an existing X.new in BATDIR, BAKDIR and SUBDIR */
-       batpath = GDKfilepath(hp->farmid, BATDIR, hp->filename, ".new");
-       bakpath = GDKfilepath(hp->farmid, BAKDIR, hp->filename, ".new");
+       batpath = GDKfilepath(hp->farmid, BATDIR, hp->filename, "new");
+       bakpath = GDKfilepath(hp->farmid, BAKDIR, hp->filename, "new");
        if (batpath != NULL && bakpath != NULL) {
                /* file actions here interact with the global commits */
                if (lock)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to