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

Fix extension. (backport of c0d222c1da93)


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
@@ -2187,8 +2187,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 -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to