diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2014-05-27 20:13:17 +0400 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2014-05-27 20:13:17 +0400 |
commit | eaba1ba4a575c5280d41eaa3deac890dd25d82e4 (patch) | |
tree | e32cde5cead5e5d22209801049115a6c4dad998b /sql/sql_show.cc | |
parent | 5a61516afd898f06a1b5504a4cce84cc8c95c9ed (diff) | |
download | mariadb-git-eaba1ba4a575c5280d41eaa3deac890dd25d82e4.tar.gz |
Re-commit in git:
MDEV-406: ANALYZE $stmt
- Ported the old patch to new explain code
- New SQL syntax (ANALYZE $stmt)
- ANALYZE UPDATE/DELETE is now supported (because EXPLAIN UPDATE/DELETE is supported)
- Basic counters are calculated for basic kinds of queries
(still need to see what happens with join buffer, ORDER BY...LIMIT queries, etc)
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r-- | sql/sql_show.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 535b113db45..375be489867 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -2366,7 +2366,7 @@ void Show_explain_request::call_in_target_thread() DBUG_ASSERT(current_thd == target_thd); set_current_thd(request_thd); if (target_thd->lex->print_explain(explain_buf, 0 /* explain flags*/, - &printed_anything)) + false /*TODO: analyze? */, &printed_anything)) { failed_to_produce= TRUE; } |