mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
EXPLAIN FORMAT=JSON: Support range+MRR plans (when MRR is used but BKA is not)
This commit is contained in:
@@ -450,13 +450,24 @@ enum explain_extra_tag
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
Explain data structure describing join buffering use.
|
||||
*/
|
||||
|
||||
class EXPLAIN_BKA_TYPE
|
||||
{
|
||||
public:
|
||||
EXPLAIN_BKA_TYPE() : join_alg(NULL) {}
|
||||
|
||||
bool incremental;
|
||||
|
||||
/*
|
||||
NULL if no join buferring used.
|
||||
Other values: BNL, BNLH, BKA, BKAH.
|
||||
*/
|
||||
const char *join_alg;
|
||||
|
||||
/* Information about MRR usage. */
|
||||
StringBuffer<64> mrr_type;
|
||||
|
||||
bool is_using_jbuf() { return (join_alg != NULL); }
|
||||
|
Reference in New Issue
Block a user