summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2014-05-27 20:13:17 +0400
committerSergei Petrunia <psergey@askmonty.org>2014-05-27 20:13:17 +0400
commiteaba1ba4a575c5280d41eaa3deac890dd25d82e4 (patch)
treee32cde5cead5e5d22209801049115a6c4dad998b /sql/sql_show.cc
parent5a61516afd898f06a1b5504a4cce84cc8c95c9ed (diff)
downloadmariadb-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.cc2
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;
}