You've already forked mariadb-columnstore-engine
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 the prepare
phase of PS/SP statements.
This commit is contained in:
@ -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)
|
if (thd->lex->sql_command == SQLCOM_CREATE_VIEW)
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|
||||||
|
if (thd->stmt_arena && thd->stmt_arena->is_stmt_prepare())
|
||||||
|
{
|
||||||
|
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