diff options
author | Dmitry Shulga <dmitry.shulga@mariadb.com> | 2021-05-05 17:56:12 +0700 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-06-17 19:30:24 +0200 |
commit | 5478ca779a8769c4ebdf03ba5f5d7be9fdcf7ef5 (patch) | |
tree | e2e35ea1b49cad7622d949c82301efa44a9f5f66 /sql/sql_base.cc | |
parent | f536974b73dec47ddd87cb525f2f0d26d84f1a1d (diff) | |
download | mariadb-git-5478ca779a8769c4ebdf03ba5f5d7be9fdcf7ef5.tar.gz |
MDEV-25576: The statement EXPLAIN running as regular statement and as prepared statement produces different results for UPDATE with subquery
10.6 cleanup
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r-- | sql/sql_base.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc index 1ba01671201..0d3c476c0e5 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -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) */ |