Changeset: a6fd9385f8dc for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a6fd9385f8dc
Modified Files:
monetdb5/modules/mal/mat.c
Branch: Jul2015
Log Message:
All external types are passed as a pointer in a VAR structure.
This fixes bug 3953.
diffs (15 lines):
diff --git a/monetdb5/modules/mal/mat.c b/monetdb5/modules/mal/mat.c
--- a/monetdb5/modules/mal/mat.c
+++ b/monetdb5/modules/mal/mat.c
@@ -497,9 +497,9 @@ MATpackValues(Client cntxt, MalBlkPtr mb
if( bn == NULL)
throw(MAL, "mat.pack", MAL_MALLOC_FAIL);
- if (ATOMvarsized(type)) {
+ if (ATOMextern(type)) {
for(i = first; i < p->argc; i++)
- BUNappend(bn, stk->stk[getArg(p,i)].val.sval, TRUE);
+ BUNappend(bn, stk->stk[getArg(p,i)].val.pval, TRUE);
} else {
for(i = first; i < p->argc; i++)
BUNappend(bn, getArgReference(stk, p, i), TRUE);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list