From 72bc6d7364f7cf6cae49c74cf1e56832053f91eb Mon Sep 17 00:00:00 2001 From: Sergey Petrunya Date: Sat, 5 Oct 2013 13:19:45 +0400 Subject: MDEV-3798: EXPLAIN UPDATE/DELETE - Address review feedback: more renames --- sql/sql_join_cache.cc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'sql/sql_join_cache.cc') 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); } -- cgit v1.2.1