diff options
| author | Igor Babaev <igor@askmonty.org> | 2023-03-22 21:59:18 -0700 |
|---|---|---|
| committer | Igor Babaev <igor@askmonty.org> | 2023-03-25 12:36:59 -0700 |
| commit | f33fc2fae5c3f3e80c4d24348609f3ce5246ca9c (patch) | |
| tree | c29efad6c8b20b73d5578c981ff54af96aac0b66 /sql/sql_explain.h | |
| parent | 011261f4e95890b63bac83d7842ff93ced6d3ec8 (diff) | |
| download | mariadb-git-f33fc2fae5c3f3e80c4d24348609f3ce5246ca9c.tar.gz | |
MDEV-30539 EXPLAIN EXTENDED: no message with queries for DML statements
EXPLAIN EXTENDED for an UPDATE/DELETE/INSERT/REPLACE statement did not
produce the warning containing the text representation of the query
obtained after the optimization phase. Such warning was produced for
SELECT statements, but not for DML statements.
The patch fixes this defect of EXPLAIN EXTENDED for DML statements.
Diffstat (limited to 'sql/sql_explain.h')
| -rw-r--r-- | sql/sql_explain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_explain.h b/sql/sql_explain.h index 7b5042b9ccf..3add40419cf 100644 --- a/sql/sql_explain.h +++ b/sql/sql_explain.h @@ -474,7 +474,7 @@ public: bool is_analyze); /* Send tabular EXPLAIN to the client */ - int send_explain(THD *thd); + int send_explain(THD *thd, bool extended); /* Return tabular EXPLAIN output as a text string */ bool print_explain_str(THD *thd, String *out_str, bool is_analyze); |
