Changeset: 32f48a6ae2e6 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/32f48a6ae2e6
Modified Files:
monetdb5/mal/mal_parser.c
Branch: default
Log Message:
Merge with Dec2025 branch.
diffs (27 lines):
diff --git a/monetdb5/mal/mal_parser.c b/monetdb5/mal/mal_parser.c
--- a/monetdb5/mal/mal_parser.c
+++ b/monetdb5/mal/mal_parser.c
@@ -1299,8 +1299,10 @@ argument(Client ctx, mel_func *curFunc,
if (type < 0)
return -1;
int tt = getBatType(type);
- if (tt != TYPE_any)
+ if (tt != TYPE_any) {
+ assert(strlen(BATatoms[tt].name) < 14);
strcpy(curArg->type, BATatoms[tt].name);
+ }
if (isaBatType(type))
curArg->isbat = true;
if (isPolymorphic(type)) {
@@ -1312,8 +1314,10 @@ argument(Client ctx, mel_func *curFunc,
} else if (currChar(ctx) == ':') {
type = typeElm(ctx, TYPE_any);
int tt = getBatType(type);
- if (tt != TYPE_any)
+ if (tt != TYPE_any) {
+ assert(strlen(BATatoms[tt].name) < 14);
strcpy(curArg->type, BATatoms[tt].name);
+ }
if (isaBatType(type))
curArg->isbat = true;
if (isPolymorphic(type)) {
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]