You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
MCOL-4031 More accurate memory usage counting while sorting
This commit is contained in:
@ -772,7 +772,7 @@ void IdbOrderBy::initialize(const RowGroup& rg)
|
||||
// initialize rows
|
||||
IdbCompare::initialize(rg);
|
||||
|
||||
uint64_t newSize = fRowsPerRG * rg.getRowSize();
|
||||
uint64_t newSize = rg.getSizeWithStrings(fRowsPerRG);
|
||||
fMemSize += newSize;
|
||||
|
||||
if (!fRm->getMemory(newSize, fSessionMemLimit))
|
||||
|
Reference in New Issue
Block a user