Changeset: ff282b854cc6 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=ff282b854cc6
Modified Files:
        monetdb5/mal/mal_dataflow.c
Branch: Oct2012
Log Message:

Allocate more space for nodes and edges in dataflow.
A failed assertion on the Feb2013 branch showed that not enough space
was allocated (sql/benchmarks/wisconsin/wisconsin-select on 32 cores).


diffs (11 lines):

diff --git a/monetdb5/mal/mal_dataflow.c b/monetdb5/mal/mal_dataflow.c
--- a/monetdb5/mal/mal_dataflow.c
+++ b/monetdb5/mal/mal_dataflow.c
@@ -1225,6 +1225,7 @@ str runMALdataflow(Client cntxt, MalBlkP
 
        flow->status = (FlowStatus)GDKzalloc((flow->stop - flow->start + 1) * 
sizeof(FlowStatusRec));
        size = DFLOWgraphSize(mb, startpc, stoppc);
+       size += stoppc - startpc;
        flow->nodes = (int*)GDKzalloc(sizeof(int) * size);
        flow->edges = (int*)GDKzalloc(sizeof(int) * size);
        DFLOWinit(flow, cntxt, mb, stk, size);
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to