mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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
@ -9276,21 +9276,6 @@ int dynamic_column_error_message(enum_dyncol_func_result rc)
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
Turn on the SELECT_DESCRIBE flag for the primary SELECT_LEX of the statement
|
||||
being processed in case the statement is EXPLAIN UPDATE/DELETE.
|
||||
|
||||
@param lex current LEX
|
||||
*/
|
||||
|
||||
void promote_select_describe_flag_if_needed(LEX *lex)
|
||||
{
|
||||
if (lex->describe)
|
||||
lex->first_select_lex()->options|= SELECT_DESCRIBE;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
@} (end of group Data_Dictionary)
|
||||
*/
|
||||
|
Reference in New Issue
Block a user