Changeset: efa3fc4c131d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=efa3fc4c131d
Modified Files:
monetdb5/optimizer/opt_pushselect.c
Branch: default
Log Message:
Initialize a malloced structure.
It avoids a crash in datacell, but may not be the solution.
diffs (12 lines):
diff --git a/monetdb5/optimizer/opt_pushselect.c
b/monetdb5/optimizer/opt_pushselect.c
--- a/monetdb5/optimizer/opt_pushselect.c
+++ b/monetdb5/optimizer/opt_pushselect.c
@@ -129,7 +129,7 @@ OPTpushselectImplementation(Client cntxt
mnstr_printf(cntxt->fdout,"#Push select optimizer started\n");
(void) stk;
(void) pci;
- vars= (int*) GDKmalloc(sizeof(int)* mb->vtop);
+ vars= (int*) GDKzalloc(sizeof(int)* mb->vtop);
if( vars == NULL)
return 0;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list