Changeset: 1e1955440760 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1e1955440760 Modified Files: sql/backends/monet5/sql.c Branch: Jul2015 Log Message:
errstr is an array, i.e. never NULL. diffs (12 lines): diff --git a/sql/backends/monet5/sql.c b/sql/backends/monet5/sql.c --- a/sql/backends/monet5/sql.c +++ b/sql/backends/monet5/sql.c @@ -3298,7 +3298,7 @@ mvc_import_table_wrap(Client cntxt, MalB if (fname && s == NULL) throw(IO, "bstreams.create", "Failed to create block stream"); if (b == NULL) - throw(SQL, "importTable", "Failed to import table %s", be->mvc->errstr? be->mvc->errstr:""); + throw(SQL, "importTable", "Failed to import table %s", be->mvc->errstr); bat2return(stk, pci, b); GDKfree(b); return msg; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list