1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

EXPLAIN FORMAT=JSON

Add support for semi-join strategies: FirstMatch, DuplicateWeedout,
LooseScan.
This commit is contained in:
Sergei Petrunia
2014-12-02 01:40:10 +03:00
parent a35b05399e
commit 0000695025
5 changed files with 123 additions and 3 deletions

View File

@@ -539,6 +539,8 @@ public:
Explain_table_access() :
derived_select_number(0),
non_merged_sjm_number(0),
start_dups_weedout(false),
end_dups_weedout(false),
where_cond(NULL),
cache_cond(NULL),
pushed_index_cond(NULL),
@@ -615,6 +617,9 @@ public:
EXPLAIN_BKA_TYPE bka_type;
StringBuffer<32> firstmatch_table_name;
bool start_dups_weedout;
bool end_dups_weedout;
/*
Note: lifespan of WHERE condition is less than lifespan of this object.