Changeset: 3cb1fecae265 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3cb1fecae265
Modified Files:
        sql/server/rel_dump.c
Branch: scoping
Log Message:

Declared tables on the stack don't have a schema


diffs (12 lines):

diff --git a/sql/server/rel_dump.c b/sql/server/rel_dump.c
--- a/sql/server/rel_dump.c
+++ b/sql/server/rel_dump.c
@@ -397,7 +397,7 @@ rel_print_(mvc *sql, stream  *fout, sql_
                if (!t && c) {
                        mnstr_printf(fout, "dict(%s.%s)", c->t->base.name, 
c->base.name);
                } else {
-                       const char *sname = t->s->base.name; /* All tables, 
including declared ones have schema */
+                       const char *sname = t->s ? t->s->base.name : NULL; /* 
All tables, but declared ones on the stack have schema */
                        const char *tname = t->base.name;
 
                        if (isRemote(t)) {
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to