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

only readlogs if the log file is there.


diffs (13 lines):

diff --git a/gdk/gdk_logger.c b/gdk/gdk_logger.c
--- a/gdk/gdk_logger.c
+++ b/gdk/gdk_logger.c
@@ -1765,7 +1765,8 @@ logger_load(int debug, const char *fn, c
                        fp = NULL;
                        goto error;
                }
-               readlogs = true;
+               if (fp)
+                       readlogs = true;
                fp = NULL;
 
                if (lg->catalog_bid == NULL && lg->catalog_id == NULL && 
lg->dcatalog == NULL) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to