mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 16:25:30 +02:00
EXPLAIN JSON: Print out the "expensive constant condition" attached to joins.
This commit is contained in:
parent
5ee1c25fa8
commit
dc259324d7
5 changed files with 104 additions and 5 deletions
|
|
@ -175,6 +175,9 @@ public:
|
|||
void print_explain_json(Explain_query *query, Json_writer *writer,
|
||||
bool is_analyze);
|
||||
|
||||
void print_explain_json_interns(Explain_query *query, Json_writer *writer,
|
||||
bool is_analyze);
|
||||
|
||||
/* A flat array of Explain structs for tables. */
|
||||
Explain_table_access** join_tabs;
|
||||
uint n_join_tabs;
|
||||
|
|
@ -222,6 +225,9 @@ public:
|
|||
*/
|
||||
const char *message;
|
||||
|
||||
/* Expensive constant condition */
|
||||
Item *exec_const_cond;
|
||||
|
||||
/* Global join attributes. In tabular form, they are printed on the first row */
|
||||
bool using_temporary;
|
||||
bool using_filesort;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue