Changeset: 07043a7d4905 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=07043a7d4905
Modified Files:
monetdb5/modules/mal/mat.c
Branch: default
Log Message:
make sure we can mat pack void bats.
diffs (12 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
@@ -56,7 +56,7 @@ MATpackInternal(Client cntxt, MalBlkPtr
if( b ){
if (tt == TYPE_any)
tt = b->ttype;
- if (tt != b->ttype)
+ if ((tt != TYPE_void && b->ttype != TYPE_void) && tt !=
b->ttype)
throw(MAL, "mat.pack", "incompatible
arguments");
cap += BATcount(b);
}
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list