Changeset: 38444d9a8aab for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/38444d9a8aab
Modified Files:
sql/storage/bat/res_table.c
Branch: nested
Log Message:
Replaces magic number with flags for multiset column in result logic
diffs (12 lines):
diff --git a/sql/storage/bat/res_table.c b/sql/storage/bat/res_table.c
--- a/sql/storage/bat/res_table.c
+++ b/sql/storage/bat/res_table.c
@@ -63,7 +63,7 @@ res_col_create(sql_trans *tr, res_table
c->type.dim = dim;
c->nrfields = 1;
c->virt = (multiset&MS_OUTPUT_ARG)?true:false;
- c->type.multiset = multiset&3;
+ c->type.multiset = multiset&(MS_SETOF|MS_ARRAY);
c->multiset = c->type.multiset;
c->composite = c->type.type->composite;
t->complex_type = (t->complex_type || c->virt || c->composite ||
(c->multiset != MS_VALUE));
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]