summaryrefslogtreecommitdiff
path: root/sql/log_slow.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2013-09-19 08:33:58 +0400
committerSergey Petrunya <psergey@askmonty.org>2013-09-19 08:33:58 +0400
commit2add402891e1b252991ae37f2065790aa6c2f728 (patch)
tree1d726223496e91a8f6e2e64cd8c71102d34cf990 /sql/log_slow.h
parentae6e95c498db4800e95fdd70fadaa608f6aa9f3f (diff)
downloadmariadb-git-2add402891e1b252991ae37f2065790aa6c2f728.tar.gz
MDEV-407: Print EXPLAIN [ANALYZE] in the slow query log
- Initial implementation.
Diffstat (limited to 'sql/log_slow.h')
-rw-r--r--sql/log_slow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/log_slow.h b/sql/log_slow.h
index 92a2d1bf4f6..e8faf79a047 100644
--- a/sql/log_slow.h
+++ b/sql/log_slow.h
@@ -18,6 +18,7 @@
#define LOG_SLOW_VERBOSITY_INIT 0
#define LOG_SLOW_VERBOSITY_INNODB 1 << 0
#define LOG_SLOW_VERBOSITY_QUERY_PLAN 1 << 1
+#define LOG_SLOW_VERBOSITY_EXPLAIN 1 << 2
#define QPLAN_INIT QPLAN_QC_NO