1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-04 04:42:30 +03:00

MCOL-769 Don't use version buffer in I_S mode

We don't need the version buffer in bulk write I_S mode since auto
commit will be on and we use the first empty block.
This commit is contained in:
Andrew Hutchings
2017-06-16 17:29:08 +01:00
parent 7501cfc1f0
commit e8581e12d3

View File

@ -1177,7 +1177,10 @@ timer.stop("allocRowId");
//--------------------------------------------------------------------------
// Tokenize data if needed
//--------------------------------------------------------------------------
BRMWrapper::setUseVb( true );
if (insertSelect)
BRMWrapper::setUseVb( false );
else
BRMWrapper::setUseVb( true );
dictStr::iterator dctStr_iter;
ColTupleList::iterator col_iter;
for (i = 0; i < colStructList.size(); i++)
@ -1282,7 +1285,10 @@ timer.stop("tokenize");
}
}
}
BRMWrapper::setUseVb( true );
if (insertSelect)
BRMWrapper::setUseVb( false );
else
BRMWrapper::setUseVb( true );
//--------------------------------------------------------------------------
// Update column info structure @Bug 1862 set hwm, and