summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2013-06-18 21:08:34 +0400
committerSergey Petrunya <psergey@askmonty.org>2013-06-18 21:08:34 +0400
commit1951d40a88e3b3fc0d2fac2ba3358d887e738485 (patch)
tree7d429c705ddd7f9f2ea5cc7cc3d69a7dbcccc809 /sql/sql_lex.cc
parent1c6fc3f6b9f7e79331053b5675793d70d0e70af0 (diff)
downloadmariadb-git-1951d40a88e3b3fc0d2fac2ba3358d887e738485.tar.gz
[SHOW] EXPLAIN UPDATE/DELETE, code re-structuring
- Make EXPLAIN UPDATE/DELETE use "Query Plan Footprints", too.
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index b2d4ca13823..bc16f61b77e 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -448,7 +448,6 @@ void lex_start(THD *thd)
lex->thd= lex->unit.thd= thd;
- lex->upd_del_plan= NULL;
lex->context_stack.empty();
lex->unit.init_query();
lex->unit.init_select();
@@ -2561,7 +2560,6 @@ LEX::LEX()
INITIAL_LEX_PLUGIN_LIST_SIZE, 0);
reset_query_tables_list(TRUE);
mi.init();
- upd_del_plan= NULL;
}
@@ -4176,11 +4174,11 @@ 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 (upd_del_plan)
+ /* if (upd_del_plan)
{
upd_del_plan->print_explain(output, explain_flags, printed_anything);
return 0;
- }
+ }*/
//int res= unit.print_explain(output, explain_flags, printed_anything);
//psergey-todo: here, we should make Query Plan Footprint, and then produce