Changeset: f53d243bc16f for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f53d243bc16f
Modified Files:
sql/backends/monet5/sql.c
Branch: default
Log Message:
After calling
t = mvc_bind_table(m, s, *tname);
we should test for
if (t == NULL)
instead of s == 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
@@ -4288,7 +4288,7 @@ sql_rowid(Client cntxt, MalBlkPtr mb, Ma
if (s == NULL)
throw(SQL, "sql.rowid", "3F000!Schema missing");
t = mvc_bind_table(m, s, *tname);
- if (s == NULL)
+ if (t == NULL)
throw(SQL, "sql.rowid", "42S02!Table missing");
if (!s || !t || !t->columns.set->h)
throw(SQL, "calc.rowid", "42S22!Cannot find column");
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list