Changeset: 175f07d01911 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=175f07d01911
Modified Files:
        sql/backends/monet5/sql_execute.c
Branch: cmake-monetdblite
Log Message:

Assert the content of the pointer.


diffs (12 lines):

diff --git a/sql/backends/monet5/sql_execute.c 
b/sql/backends/monet5/sql_execute.c
--- a/sql/backends/monet5/sql_execute.c
+++ b/sql/backends/monet5/sql_execute.c
@@ -681,7 +681,7 @@ SQLstatementIntern(Client c, str *expr, 
                                error = createException(PARSE, "SQLparser", 
SQLSTATE(42000) "%s", msg);
                        if (msg)
                                freeException(msg);
-                       assert(error);
+                       assert(*error);
                        msg = error;
                        *m->errstr = 0;
                        goto endofcompile;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to