You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
MDEV-25080 Disable pushdown of SELECT_LEX_UNIT for CREATE VIEW statements.
This commit is contained in:
@@ -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)
|
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);
|
return create_columnstore_select_handler_(thd, 0, sel_unit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user