mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
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.
This commit is contained in:
@ -2708,6 +2708,8 @@ struct TABLE_LIST
|
||||
}
|
||||
void print(THD *thd, table_map eliminated_tables, String *str,
|
||||
enum_query_type query_type);
|
||||
void print_leaf_tables(THD *thd, String *str,
|
||||
enum_query_type query_type);
|
||||
bool check_single_table(TABLE_LIST **table, table_map map,
|
||||
TABLE_LIST *view);
|
||||
bool set_insert_values(MEM_ROOT *mem_root);
|
||||
|
Reference in New Issue
Block a user