Changeset: db29ffc49d0e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=db29ffc49d0e
Modified Files:
        monetdb5/mal/mal_import.c
Branch: default
Log Message:

No point in having an assert after the crash has already happened.
Hint: there's a strlen(s) before the assert(s).


diffs (19 lines):

diff --git a/monetdb5/mal/mal_import.c b/monetdb5/mal/mal_import.c
--- a/monetdb5/mal/mal_import.c
+++ b/monetdb5/mal/mal_import.c
@@ -324,7 +324,6 @@ compileString(Symbol *fcn, Client cntxt,
        stream *bs;
        bstream *fdin = NULL;
 
-       assert(s);
        s = mal_cmdline(s, &len);
        qry = s;
        if (old == s) {
@@ -401,7 +400,6 @@ callString(Client cntxt, str s, int list
        str msg = MAL_SUCCEED, qry;
        bstream *bs;
 
-       assert(s);
        s = mal_cmdline(s, &len);
        qry = s;
        if (old == s) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to