diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2013-10-05 09:58:22 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2013-10-05 09:58:22 +0400 |
commit | fedf769f0b2001f8294c2b44dbcaca1e562f82a9 (patch) | |
tree | a1c998b5c4ea47636023f142f86b607cd5521717 /sql/sql_prepare.cc | |
parent | f5fba6564b447369575bc129aac89d347368957e (diff) | |
download | mariadb-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_prepare.cc')
-rw-r--r-- | sql/sql_prepare.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc index e3d6c75453e..4a8f3314c8b 100644 --- a/sql/sql_prepare.cc +++ b/sql/sql_prepare.cc @@ -2491,7 +2491,7 @@ void reinit_stmt_before_use(THD *thd, LEX *lex) object and because of this can be used in different threads. */ lex->thd= thd; - DBUG_ASSERT(!lex->query_plan_footprint); + DBUG_ASSERT(!lex->explain); if (lex->empty_field_list_on_rset) { @@ -3931,8 +3931,8 @@ bool Prepared_statement::execute(String *expanded_query, bool open_cursor) if (! cursor) cleanup_stmt(); - //psergey: TODO the "EXECUTE problem" is here - delete_qpf_query(thd->lex); + + delete_explain_query(thd->lex); thd->set_statement(&stmt_backup); thd->stmt_arena= old_stmt_arena; |