You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-4043 Fix memory leaks - 1 (second attempt)
simpleScalarFilterToParseTree() performs a dynamic allocation of a ParseTree object, but this memory is never freed later. We now keep track of this allocation and perform the delete in ~CSEP/CSEP::unserialize() after the query finishes.
This commit is contained in:
@ -169,6 +169,7 @@ SJSTEP& SubQueryTransformer::makeSubQueryStep(execplan::CalpontSelectExecutionPl
|
||||
fSubJobList->addQuery(querySteps);
|
||||
fSubJobList->addDelivery(deliverySteps);
|
||||
fSubJobList->putEngineComm(DistributedEngineComm::instance(fOutJobInfo->rm));
|
||||
csep->setDynamicParseTreeVec(fSubJobInfo->dynamicParseTreeVec);
|
||||
|
||||
// Get the correlated steps
|
||||
fCorrelatedSteps = fSubJobInfo->correlateSteps;
|
||||
|
Reference in New Issue
Block a user