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

MCOL-1052 WIP Clean up the code.

This commit is contained in:
Roman Nozdrin
2018-04-11 16:15:12 +03:00
parent ba38e392fc
commit 720e1d91b9
2 changed files with 112 additions and 149 deletions

View File

@ -1181,6 +1181,7 @@ int ha_calpont_group_by_handler::init_scan()
// Save vtable_state to restore the after we inited.
THD::infinidb_state oldState = thd->infinidb_vtable.vtable_state;
// MCOL-1052 Should be removed after cleaning the code up.
thd->infinidb_vtable.vtable_state = THD::INFINIDB_CREATE_VTABLE;
int rc = ha_calpont_impl_group_by_init(this, table);
thd->infinidb_vtable.vtable_state = oldState;