You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-11-06 16:09:29 +03:00
fix(perf): add reserves for usage of vector filled after creation
This commit is contained in:
committed by
Leonid Fedorov
parent
87bdc5fcb0
commit
7d23514315
@@ -1392,6 +1392,7 @@ int WriteEngineWrapper::insertColumnRecs(
|
||||
if (bFirstExtentOnThisPM)
|
||||
{
|
||||
std::vector<BRM::CreateStripeColumnExtentsArgIn> cols;
|
||||
cols.reserve(colStructList.size());
|
||||
BRM::CreateStripeColumnExtentsArgIn createStripeColumnExtentsArgIn;
|
||||
|
||||
for (i = 0; i < colStructList.size(); i++)
|
||||
@@ -2202,6 +2203,7 @@ int WriteEngineWrapper::insertColumnRecsBinary(
|
||||
{
|
||||
// cout << "bFirstExtentOnThisPM is " << bFirstExtentOnThisPM << endl;
|
||||
std::vector<BRM::CreateStripeColumnExtentsArgIn> cols;
|
||||
cols.reserve(colStructList.size());
|
||||
BRM::CreateStripeColumnExtentsArgIn createStripeColumnExtentsArgIn;
|
||||
|
||||
for (i = 0; i < colStructList.size(); i++)
|
||||
|
||||
Reference in New Issue
Block a user