1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-769 Add autocommit to condition

This commit is contained in:
Andrew Hutchings
2017-06-16 17:55:44 +01:00
parent e8581e12d3
commit 44977a8c6b

View File

@ -1177,7 +1177,7 @@ timer.stop("allocRowId");
//--------------------------------------------------------------------------
// Tokenize data if needed
//--------------------------------------------------------------------------
if (insertSelect)
if (insertSelect && isAutoCommitOn)
BRMWrapper::setUseVb( false );
else
BRMWrapper::setUseVb( true );
@ -1285,7 +1285,7 @@ timer.stop("tokenize");
}
}
}
if (insertSelect)
if (insertSelect && isAutoCommitOn)
BRMWrapper::setUseVb( false );
else
BRMWrapper::setUseVb( true );