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

MDEV-25080 Disable pushdown of SELECT_LEX_UNIT for CREATE VIEW statements.

This commit is contained in:
Gagan Goel
2022-11-08 17:44:38 -05:00
parent 45a779f743
commit 8cdcae0d2f

View File

@ -1036,6 +1036,9 @@ select_handler* create_columnstore_select_handler(THD* thd, SELECT_LEX* select_l
select_handler* create_columnstore_unit_handler(THD* thd, SELECT_LEX_UNIT* sel_unit)
{
if (thd->lex->sql_command == SQLCOM_CREATE_VIEW)
return nullptr;
return create_columnstore_select_handler_(thd, 0, sel_unit);
}