Changeset: dcd3dad2b315 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/dcd3dad2b315
Modified Files:
monetdb5/modules/mal/pp_hash.c
Branch: pp_hashjoin
Log Message:
use properly defined length, related to the use with in the allocator.
diffs (12 lines):
diff --git a/monetdb5/modules/mal/pp_hash.c b/monetdb5/modules/mal/pp_hash.c
--- a/monetdb5/modules/mal/pp_hash.c
+++ b/monetdb5/modules/mal/pp_hash.c
@@ -568,7 +568,7 @@ UHASHext(Client cntxt, MalBlkPtr m, MalS
pipeline_unlock(p); \
assert(p->wid < p->p->nr_workers); \
if (!SK->allocators[p->wid]) { \
- char name[16]; \
+ char name[MT_NAME_LEN]; \
snprintf(name, sizeof(name), "pp%d", p->wid); \
SK->allocators[p->wid] = create_allocator(name,
false); \
if (!SK->allocators[p->wid]) { \
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]