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

MCOL-4285 For Insert...Select, pass the is_cache_insert=true

flag to ha_mcs_impl_start_bulk_insert.

An earlier commit to fix LDI under replication changed the call in
ha_mcs_cache::start_bulk_insert for a non-insert command from
parent::start_bulk_insert_from_cache to parent::start_bulk_insert.
This commit reverts that change for INSERT...SELECT operation.
This commit is contained in:
Gagan Goel
2020-10-15 13:30:36 -04:00
parent 92d861d980
commit 50a4fd9f39
2 changed files with 13 additions and 1 deletions

View File

@ -285,6 +285,7 @@ class ha_mcs_cache :public ha_mcs
typedef ha_mcs parent;
int original_lock_type;
bool insert_command, cache_locked;
enum_sql_command sql_command;
// True if this handler belongs to either calpontsys.systable or
// calpontsys.syscolumn system catalog tables