1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

[SHOW] EXPLAIN UPDATE/DELETE, code re-structuring

- Let Query Plan Footprint store join buffer type 
  in binary form, not string.
- Same for LooseScan type.
This commit is contained in:
Sergey Petrunya
2013-06-27 17:56:49 +04:00
parent 5422098b75
commit befacafd73
6 changed files with 45 additions and 37 deletions

View File

@ -63,6 +63,7 @@ typedef struct st_cache_field {
class JOIN_TAB_SCAN;
struct st_qpf_bka_type;
/*
JOIN_CACHE is the base class to support the implementations of
@ -657,7 +658,7 @@ public:
enum_nested_loop_state join_records(bool skip_last);
/* Add a comment on the join algorithm employed by the join cache */
virtual void print_explain_comment(String *str);
virtual void save_qpf(struct st_qpf_bka_type *qpf);
THD *thd();
@ -1335,7 +1336,7 @@ public:
/* Check index condition of the joined table for a record from BKA cache */
bool skip_index_tuple(range_id_t range_info);
void print_explain_comment(String *str);
void save_qpf(struct st_qpf_bka_type *qpf);
};
@ -1426,5 +1427,5 @@ public:
/* Check index condition of the joined table for a record from BKAH cache */
bool skip_index_tuple(range_id_t range_info);
void print_explain_comment(String *str);
void save_qpf(struct st_qpf_bka_type *qpf);
};