diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2013-06-20 15:15:24 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2013-06-20 15:15:24 +0400 |
commit | 0a560289aaa8c17e3f1930871088f43efce641e8 (patch) | |
tree | 9389be8c89ec07454bea13ea08ea2886e0fa0f74 /sql/sql_lex.cc | |
parent | 6efa1d8c248e1068829af9b530b6c47747ac3310 (diff) | |
download | mariadb-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.cc | 2 |
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(); |