diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2013-10-05 13:19:45 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2013-10-05 13:19:45 +0400 |
commit | 72bc6d7364f7cf6cae49c74cf1e56832053f91eb (patch) | |
tree | 063f21a3c6205722b5d14b76a43b6543bce83808 /sql/sql_join_cache.cc | |
parent | 6a7f8af3f9ca95163cba3c7efdf04944378fb8d3 (diff) | |
download | mariadb-git-72bc6d7364f7cf6cae49c74cf1e56832053f91eb.tar.gz |
MDEV-3798: EXPLAIN UPDATE/DELETE
- Address review feedback: more renames
Diffstat (limited to 'sql/sql_join_cache.cc')
-rw-r--r-- | sql/sql_join_cache.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sql/sql_join_cache.cc b/sql/sql_join_cache.cc index 040e596d283..8b505b75272 100644 --- a/sql/sql_join_cache.cc +++ b/sql/sql_join_cache.cc @@ -2568,22 +2568,22 @@ finish: none */ -void JOIN_CACHE::save_explain_data(struct st_explain_bka_type *qpf) +void JOIN_CACHE::save_explain_data(struct st_explain_bka_type *explain) { - qpf->incremental= test(prev_cache); + explain->incremental= test(prev_cache); switch (get_join_alg()) { case BNL_JOIN_ALG: - qpf->join_alg= "BNL"; + explain->join_alg= "BNL"; break; case BNLH_JOIN_ALG: - qpf->join_alg= "BNLH"; + explain->join_alg= "BNLH"; break; case BKA_JOIN_ALG: - qpf->join_alg= "BKA"; + explain->join_alg= "BKA"; break; case BKAH_JOIN_ALG: - qpf->join_alg= "BKAH"; + explain->join_alg= "BKAH"; break; default: DBUG_ASSERT(0); @@ -2613,17 +2613,17 @@ static void add_mrr_explain_info(String *str, uint mrr_mode, handler *file) } } -void JOIN_CACHE_BKA::save_explain_data(struct st_explain_bka_type *qpf) +void JOIN_CACHE_BKA::save_explain_data(struct st_explain_bka_type *explain) { - JOIN_CACHE::save_explain_data(qpf); - add_mrr_explain_info(&qpf->mrr_type, mrr_mode, join_tab->table->file); + JOIN_CACHE::save_explain_data(explain); + add_mrr_explain_info(&explain->mrr_type, mrr_mode, join_tab->table->file); } -void JOIN_CACHE_BKAH::save_explain_data(struct st_explain_bka_type *qpf) +void JOIN_CACHE_BKAH::save_explain_data(struct st_explain_bka_type *explain) { - JOIN_CACHE::save_explain_data(qpf); - add_mrr_explain_info(&qpf->mrr_type, mrr_mode, join_tab->table->file); + JOIN_CACHE::save_explain_data(explain); + add_mrr_explain_info(&explain->mrr_type, mrr_mode, join_tab->table->file); } |