summaryrefslogtreecommitdiff
path: root/sql/sql_explain.h
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2015-09-24 15:43:01 +0300
committerSergei Petrunia <psergey@askmonty.org>2015-09-24 15:45:54 +0300
commit7016621596d4700a8cf2c228f958edf8d8932d38 (patch)
treea48162f6de7080fc1f2901355e0782fddd219a38 /sql/sql_explain.h
parent428f03c0b5cb9b0d85a7d70772dbf2b430672e83 (diff)
downloadmariadb-git-7016621596d4700a8cf2c228f958edf8d8932d38.tar.gz
MDEV-8829: Assertion `0' failed in Explain_table_access::tag_to_json
- Add EXPLAIN/ANALYZE FORMAT=JSON handling for a few special cases.
Diffstat (limited to 'sql/sql_explain.h')
-rw-r--r--sql/sql_explain.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/sql_explain.h b/sql/sql_explain.h
index 434be476723..6a3e6c25a61 100644
--- a/sql/sql_explain.h
+++ b/sql/sql_explain.h
@@ -700,7 +700,12 @@ public:
*/
Item *where_cond;
Item *cache_cond;
-
+
+ /*
+ This is either pushed index condition, or BKA's index condition.
+ (the latter refers to columns of other tables and so can only be checked by
+ BKA code). Examine extra_tags to tell which one it is.
+ */
Item *pushed_index_cond;
Explain_basic_join *sjm_nest;