Changeset: 05a76afe1dae for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=05a76afe1dae
Modified Files:
        monetdb5/mal/mal_namespace.c
Branch: tracer
Log Message:

Added GDKtracer to mal_namespace


diffs (20 lines):

diff --git a/monetdb5/mal/mal_namespace.c b/monetdb5/mal/mal_namespace.c
--- a/monetdb5/mal/mal_namespace.c
+++ b/monetdb5/mal/mal_namespace.c
@@ -14,6 +14,7 @@
 #include "mal_namespace.h"
 #include "mal_exception.h"
 #include "mal_private.h"
+#include "gdk_tracer.h"
 
 #define MAXIDENTIFIERS 4096
 #define HASHMASK  4095
@@ -120,7 +121,7 @@ static str findName(const char *nme, siz
                struct namespace *ns = GDKmalloc(sizeof(struct namespace));
                if (ns == NULL) {
                        /* error we cannot recover from */
-                       fprintf(stderr, "!findName" SQLSTATE(HY001) 
MAL_MALLOC_FAIL);
+                       CRITICAL(M_ALL, SQLSTATE(HY001) MAL_MALLOC_FAIL "\n");
                        mal_exit(1);
                }
                ns->next = namespace;
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to