summaryrefslogtreecommitdiff
path: root/sql/sql_union.cc
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2013-10-05 09:58:22 +0400
committerSergey Petrunya <psergey@askmonty.org>2013-10-05 09:58:22 +0400
commitfedf769f0b2001f8294c2b44dbcaca1e562f82a9 (patch)
treea1c998b5c4ea47636023f142f86b607cd5521717 /sql/sql_union.cc
parentf5fba6564b447369575bc129aac89d347368957e (diff)
downloadmariadb-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_union.cc')
-rw-r--r--sql/sql_union.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc
index a6e935f5cfd..72ba3853110 100644
--- a/sql/sql_union.cc
+++ b/sql/sql_union.cc
@@ -630,8 +630,8 @@ bool st_select_lex_unit::exec()
saved_error= optimize();
- if (!was_executed && thd->lex->query_plan_footprint)
- save_union_qpf(thd->lex->query_plan_footprint);
+ if (!was_executed && thd->lex->explain)
+ save_union_explain(thd->lex->explain);
if (uncacheable || !item || !item->assigned() || describe)
{
@@ -780,8 +780,8 @@ bool st_select_lex_unit::exec()
if (!fake_select_lex->ref_pointer_array)
fake_select_lex->n_child_sum_items+= global_parameters->n_sum_items;
- if (!was_executed && thd->lex->query_plan_footprint)
- save_union_qpf_part2(thd->lex->query_plan_footprint);
+ if (!was_executed && thd->lex->explain)
+ save_union_explain_part2(thd->lex->explain);
saved_error= mysql_select(thd, &fake_select_lex->ref_pointer_array,
&result_table_list,