summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index 74e4b3e1162..714ab373b17 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -448,7 +448,7 @@ void lex_start(THD *thd)
lex->thd= lex->unit.thd= thd;
- lex->delete_plan= NULL;
+ lex->upd_del_plan= NULL;
lex->context_stack.empty();
lex->unit.init_query();
lex->unit.init_select();
@@ -2558,7 +2558,7 @@ LEX::LEX()
INITIAL_LEX_PLUGIN_LIST_SIZE, 0);
reset_query_tables_list(TRUE);
mi.init();
- delete_plan= NULL;
+ upd_del_plan= NULL;
}
@@ -4171,9 +4171,9 @@ bool st_select_lex::is_merged_child_of(st_select_lex *ancestor)
int LEX::print_explain(select_result_sink *output, uint8 explain_flags,
bool *printed_anything)
{
- if (delete_plan)
+ if (upd_del_plan)
{
- delete_plan->print_explain(output, explain_flags, printed_anything);
+ upd_del_plan->print_explain(output, explain_flags, printed_anything);
return 0;
}
int res= unit.print_explain(output, explain_flags, printed_anything);