diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2013-10-05 09:58:22 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2013-10-05 09:58:22 +0400 |
commit | fedf769f0b2001f8294c2b44dbcaca1e562f82a9 (patch) | |
tree | a1c998b5c4ea47636023f142f86b607cd5521717 /sql/opt_range.h | |
parent | f5fba6564b447369575bc129aac89d347368957e (diff) | |
download | mariadb-git-fedf769f0b2001f8294c2b44dbcaca1e562f82a9.tar.gz |
MDEV-3798: EXPLAIN UPDATE/DELETE
- Address review feedback: rename nearly any name used by the new EXPLAIN code.
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r-- | sql/opt_range.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h index f2e8b92e7d0..9bc19927fd0 100644 --- a/sql/opt_range.h +++ b/sql/opt_range.h @@ -52,7 +52,7 @@ typedef struct st_key_part { Field::imagetype image_type; } KEY_PART; -class QPF_quick_select; +class Explain_quick_select; /* A "MIN_TUPLE < tbl.key_tuple < MAX_TUPLE" interval. @@ -346,7 +346,7 @@ public: void add_key_name(String *str, bool *first); /* Save information about quick select's query plan */ - virtual void save_info(MEM_ROOT *alloc, QPF_quick_select *qpf)= 0; + virtual void save_info(MEM_ROOT *alloc, Explain_quick_select *qpf)= 0; /* Return 1 if any index used by this quick select @@ -473,7 +473,7 @@ public: { file->position(record); } int get_type() { return QS_TYPE_RANGE; } void add_keys_and_lengths(String *key_names, String *used_lengths); - void save_info(MEM_ROOT *alloc, QPF_quick_select *qpf); + void save_info(MEM_ROOT *alloc, Explain_quick_select *qpf); #ifndef DBUG_OFF void dbug_dump(int indent, bool verbose); #endif @@ -610,7 +610,7 @@ public: #ifndef DBUG_OFF void dbug_dump(int indent, bool verbose); #endif - void save_info(MEM_ROOT *alloc, QPF_quick_select *qpf); + void save_info(MEM_ROOT *alloc, Explain_quick_select *qpf); bool push_quick_back(QUICK_RANGE_SELECT *quick_sel_range); @@ -674,7 +674,7 @@ public: int get_next(); int get_type() { return QS_TYPE_INDEX_INTERSECT; } void add_keys_and_lengths(String *key_names, String *used_lengths); - void save_info(MEM_ROOT *alloc, QPF_quick_select *qpf); + void save_info(MEM_ROOT *alloc, Explain_quick_select *qpf); }; @@ -712,7 +712,7 @@ public: bool unique_key_range() { return false; } int get_type() { return QS_TYPE_ROR_INTERSECT; } void add_keys_and_lengths(String *key_names, String *used_lengths); - void save_info(MEM_ROOT *alloc, QPF_quick_select *qpf); + void save_info(MEM_ROOT *alloc, Explain_quick_select *qpf); bool is_keys_used(const MY_BITMAP *fields); #ifndef DBUG_OFF void dbug_dump(int indent, bool verbose); @@ -791,7 +791,7 @@ public: bool unique_key_range() { return false; } int get_type() { return QS_TYPE_ROR_UNION; } void add_keys_and_lengths(String *key_names, String *used_lengths); - void save_info(MEM_ROOT *alloc, QPF_quick_select *qpf); + void save_info(MEM_ROOT *alloc, Explain_quick_select *qpf); bool is_keys_used(const MY_BITMAP *fields); #ifndef DBUG_OFF void dbug_dump(int indent, bool verbose); @@ -940,7 +940,7 @@ public: #endif bool is_agg_distinct() { return have_agg_distinct; } bool loose_scan_is_scanning() { return is_index_scan; } - void save_info(MEM_ROOT *alloc, QPF_quick_select *qpf); + void save_info(MEM_ROOT *alloc, Explain_quick_select *qpf); }; |