Changeset: 2bac71938eaf for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=2bac71938eaf
Modified Files:
sql/storage/store.c
Branch: Apr2019
Log Message:
Undo rev 677ffc5f7d56.
diffs (18 lines):
diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -2607,11 +2607,10 @@ column_dup(sql_trans *tr, int flags, sql
sql_type *lt = NULL;
if (s->base.id == c->type.type->s->base.id) {
- /* Current user type belongs to current schema. So
search there for current user type. */
+ /* current column belongs to current schema. So search
there for current user type. */
lt = find_sql_type(s, c->type.type->base.name);
- } else {
- /* Current user type belongs to another schema in the
current transaction. Search there for current user type. */
- lt = sql_trans_bind_type(tr, NULL,
c->type.type->base.name);
+ } else {
+ lt = sql_trans_bind_type(tr, find_sql_schema_id(tr,
c->type.type->s->base.id), c->type.type->base.name);
}
if (lt == NULL)
GDKfatal("SQL type %s missing",
c->type.type->base.name);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list