mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
EXPLAIN JSON: Print out the "expensive constant condition" attached to joins.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user