Changeset: 6378c2afc433 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/6378c2afc433
Modified Files:
sql/backends/monet5/sql.c
Branch: default
Log Message:
make sure we skip tests for 'cname' for the table vacuum case.
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
@@ -4986,7 +4986,7 @@ SQLstr_vacuum(Client cntxt, MalBlkPtr mb
throw(SQL, "sql.str_vacuum", SQLSTATE(42000) "Schema name
cannot be NULL");
if (strNil(tname))
throw(SQL, "sql.str_vacuum", SQLSTATE(42000) "Table name cannot
be NULL");
- if (strNil(cname))
+ if (cname && strNil(cname))
throw(SQL, "sql.str_vacuum", SQLSTATE(42000) "Column name
cannot be NULL");
if ((s = mvc_bind_schema(m, sname)) == NULL)
throw(SQL, "sql.str_vacuum", SQLSTATE(3F000) "Invalid or
missing schema %s",sname);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]