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:
committed by
Sergei Golubchik
parent
f536974b73
commit
5478ca779a
@ -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);
|
||||
|
Reference in New Issue
Block a user