mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#47736 killing a select from a view when the view is processing a function, asserts
hide_view_error() does not take into account that thread query may be killed. Added a check for thd->killed. Addon: backported bug32140 fix from 6.0
This commit is contained in:
@ -3365,7 +3365,7 @@ bool TABLE_LIST::prep_check_option(THD *thd, uint8 check_opt_type)
|
||||
|
||||
void TABLE_LIST::hide_view_error(THD *thd)
|
||||
{
|
||||
if (thd->get_internal_handler())
|
||||
if (thd->killed || thd->get_internal_handler())
|
||||
return;
|
||||
/* Hide "Unknown column" or "Unknown function" error */
|
||||
DBUG_ASSERT(thd->is_error());
|
||||
|
Reference in New Issue
Block a user