Changeset: 93124c1d327d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=93124c1d327d
Modified Files:
        sql/storage/store.c
Branch: sciql
Log Message:

when creating the SQLcatalog, we now also need to create columns for arrays


diffs (12 lines):

diff --git a/sql/storage/store.c b/sql/storage/store.c
--- a/sql/storage/store.c
+++ b/sql/storage/store.c
@@ -1921,7 +1921,7 @@
 
        cs_add(&t->columns, col, TR_NEW);
 
-       if (isTable(t))
+       if (isTable(t) || isArray(t))
                store_funcs.create_col(tr, col);
        if (!isDeclaredTable(t))
                table_funcs.table_insert(tr, syscolumn, &col->base.id, 
col->base.name, col->type.type->sqlname, &col->type.digits, &col->type.scale, 
&t->base.id, (col->def) ? col->def : ATOMnilptr(TYPE_str), &col->null, 
&col->colnr, (col->storage_type) ? col->storage_type : ATOMnilptr(TYPE_str));
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to