summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2013-06-20 15:15:24 +0400
committerSergey Petrunya <psergey@askmonty.org>2013-06-20 15:15:24 +0400
commit0a560289aaa8c17e3f1930871088f43efce641e8 (patch)
tree9389be8c89ec07454bea13ea08ea2886e0fa0f74 /sql/sql_lex.cc
parent6efa1d8c248e1068829af9b530b6c47747ac3310 (diff)
downloadmariadb-git-0a560289aaa8c17e3f1930871088f43efce641e8.tar.gz
[SHOW] EXPLAIN UPDATE/DELETE, code re-structuring
- Introduce back QueryPlan/QueryPlanFootprint separation for single-table UPDATEs/DELETEs - Create an empty QueryPlanFootprint for all kinds of queries
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index bc16f61b77e..6ad7b288a4b 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -447,6 +447,8 @@ void lex_start(THD *thd)
DBUG_ENTER("lex_start");
lex->thd= lex->unit.thd= thd;
+
+ lex->query_plan_footprint= NULL;
lex->context_stack.empty();
lex->unit.init_query();