1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-24 14:20:59 +03:00

Merge pull request #502 from drrtuy/MCOL-1456

MCOL-1456 Restore the pre-1.2 processing behavior for queries in autoswitch mode
This commit is contained in:
David.Hall
2018-06-22 09:22:10 -05:00
committed by GitHub

View File

@@ -1156,7 +1156,8 @@ create_calpont_group_by_handler(THD* thd, Query* query)
{
ha_calpont_group_by_handler* handler = NULL;
if ( thd->infinidb_vtable.vtable_state == THD::INFINIDB_DISABLE_VTABLE )
if ( thd->infinidb_vtable.vtable_state == THD::INFINIDB_DISABLE_VTABLE
&& thd->variables.infinidb_vtable_mode == 0)
{
handler = new ha_calpont_group_by_handler(thd, query);