You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Fixed a couple minor things I ran into working on another task
- Made TupleUnion not allocate 64MB per frame. - Saw a crash, where a THJS would be destroyed w/o being used. Fixed the bad reference.
This commit is contained in:
@ -132,8 +132,9 @@ TupleHashJoinStep::~TupleHashJoinStep()
|
||||
if (ownsOutputDL)
|
||||
delete outputDL;
|
||||
|
||||
for (uint i = 0 ; i < smallDLs.size(); i++)
|
||||
resourceManager->returnMemory(memUsedByEachJoin[i], sessionMemLimit);
|
||||
if (memUsedByEachJoin)
|
||||
for (uint i = 0 ; i < smallDLs.size(); i++)
|
||||
resourceManager->returnMemory(memUsedByEachJoin[i], sessionMemLimit);
|
||||
|
||||
//cout << "deallocated THJS, UM memory available: " << resourceManager.availableMemory() << endl;
|
||||
}
|
||||
|
@ -94,7 +94,6 @@ TupleUnion::TupleUnion(CalpontSystemCatalog::OID tableOID, const JobInfo& jobInf
|
||||
outputIt(-1),
|
||||
memUsage(0),
|
||||
rm(jobInfo.rm),
|
||||
allocator(64 * 1024 * 1024 + 1),
|
||||
runnersDone(0),
|
||||
distinctCount(0),
|
||||
distinctDone(0),
|
||||
|
Reference in New Issue
Block a user