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

MDEV-25080 DISABLE pushdown of SELECT_LEX_UNIT for the prepare

phase of PS/SP statements.
This commit is contained in:
Gagan Goel
2023-02-20 13:04:13 -05:00
parent e987a766e0
commit e4100928d1

View File

@ -1038,6 +1038,11 @@ select_handler* create_columnstore_unit_handler(THD* thd, SELECT_LEX_UNIT* sel_u
if (thd->lex->sql_command == SQLCOM_CREATE_VIEW)
return nullptr;
if (thd->stmt_arena && thd->stmt_arena->is_stmt_prepare())
{
return nullptr;
}
return create_columnstore_select_handler_(thd, 0, sel_unit);
}