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/sql_update.cc | |
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/sql_update.cc')
-rw-r--r-- | sql/sql_update.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc index 2881f6a7a1d..cf6cc46e11c 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -500,7 +500,7 @@ int mysql_update(THD *thd, if (thd->lex->describe) goto exit_without_my_ok; - query_plan.save_qpf(thd->lex->query_plan_footprint); + query_plan.save_explain_data(thd->lex->explain); thd->apc_target.enable(); apc_target_enabled= true; DBUG_EXECUTE_IF("show_explain_probe_update_exec_start", @@ -1031,7 +1031,7 @@ err: exit_without_my_ok: DBUG_ASSERT(!apc_target_enabled); - query_plan.save_qpf(thd->lex->query_plan_footprint); + query_plan.save_explain_data(thd->lex->explain); select_send *result; if (!(result= new select_send())) @@ -1039,7 +1039,7 @@ exit_without_my_ok: List<Item> dummy; /* note: looked in 5.6 and they too use a dummy list like this */ result->prepare(dummy, &thd->lex->unit); thd->send_explain_fields(result); - int err2= thd->lex->query_plan_footprint->print_explain(result, + int err2= thd->lex->explain->print_explain(result, thd->lex->describe); if (err2) result->abort_result_set(); @@ -1518,7 +1518,7 @@ bool mysql_multi_update(THD *thd, { if (explain) { - thd->lex->query_plan_footprint->print_explain(output, thd->lex->describe); + thd->lex->explain->print_explain(output, thd->lex->describe); output->send_eof(); delete output; } |