1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

[MCOL-4778] Return if we have an error in push_down_init. (#2420)

This commit is contained in:
Denis Khalikov
2022-06-21 00:20:52 +03:00
committed by GitHub
parent 889ab1e836
commit de1d1d4891
3 changed files with 50 additions and 0 deletions

View File

@ -962,6 +962,9 @@ select_handler* create_columnstore_select_handler(THD* thd, SELECT_LEX* select_l
{
my_printf_error(ER_INTERNAL_ERROR, "%s", MYF(0), "Error occured in ha_mcs_impl_pushdown_init()");
}
// We had an error in `ha_mcs_impl_pushdown_init`, no need to continue execution of this query.
return handler;
}
// Unset select_lex::first_cond_optimization