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

ext can be NULL.


diffs (15 lines):

diff --git a/gdk/gdk_heap.c b/gdk/gdk_heap.c
--- a/gdk/gdk_heap.c
+++ b/gdk/gdk_heap.c
@@ -771,8 +771,9 @@ HEAPload_intern(Heap *h, const char *nme
                }
        }
 
-       TRC_DEBUG(HEAP, "HEAPload(%s.%s,storage=%d,free=%zu,size=%zu)\n",
-                 nme, ext, (int) h->storage, h->free, h->size);
+       TRC_DEBUG(HEAP, "HEAPload(%s%s%s,storage=%d,free=%zu,size=%zu)\n",
+                 nme, ext ? "." : "", ext ? ext : "",
+                 (int) h->storage, h->free, h->size);
 
        /* On some OSs (WIN32,Solaris), it is prohibited to write to a
         * file that is open in MAP_PRIVATE (FILE_MAP_COPY) solution:
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to