1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-25576: The statement EXPLAIN running as regular statement and as prepared statement produces different results for UPDATE with subquery

10.6 cleanup
This commit is contained in:
Dmitry Shulga
2021-05-05 17:56:12 +07:00
committed by Sergei Golubchik
parent f536974b73
commit 5478ca779a
5 changed files with 15 additions and 19 deletions

View File

@ -468,7 +468,7 @@ int mysql_update(THD *thd,
want_privilege= (table_list->view ? UPDATE_ACL :
table_list->grant.want_privilege);
#endif
promote_select_describe_flag_if_needed(thd->lex);
thd->lex->promote_select_describe_flag_if_needed();
if (mysql_prepare_update(thd, table_list, &conds, order_num, order))
DBUG_RETURN(1);