Changeset: 45c44f862e23 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=45c44f862e23
Modified Files:
        sql/backends/monet5/sql.c
Branch: Jul2015
Log Message:

After calling
 t = mvc_bind_table(m, s, *tname);
we should test for
 if (t == NULL)
instead of s == NULL.
(grafted from f53d243bc16f07f3b0ac3b1f6a0a77d16b450302)


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
@@ -4276,7 +4276,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

Reply via email to