summaryrefslogtreecommitdiff
path: root/sql/log_slow.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-04-25 17:22:25 +0200
committerSergei Golubchik <sergii@pisem.net>2011-04-25 17:22:25 +0200
commit9182079c5ff5081f6889a765e16a102610a77863 (patch)
treebdf0738c29dc1f57fbfba3a1754524e238f15b52 /sql/log_slow.h
parent03182956403680ffaf5b94d8230ec21de359d397 (diff)
downloadmariadb-git-9182079c5ff5081f6889a765e16a102610a77863.tar.gz
lots of post-merge changes
Diffstat (limited to 'sql/log_slow.h')
-rw-r--r--sql/log_slow.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sql/log_slow.h b/sql/log_slow.h
index 91b74e690a0..92a2d1bf4f6 100644
--- a/sql/log_slow.h
+++ b/sql/log_slow.h
@@ -19,11 +19,7 @@
#define LOG_SLOW_VERBOSITY_INNODB 1 << 0
#define LOG_SLOW_VERBOSITY_QUERY_PLAN 1 << 1
-/*
- We init the used query plan with a bit that is alwyas set and all 'no' bits
- to enable easy testing of what to log in sql_log.cc
-*/
-#define QPLAN_INIT (QPLAN_ALWAYS_SET | QPLAN_QC_NO)
+#define QPLAN_INIT QPLAN_QC_NO
#define QPLAN_ADMIN 1 << 0
#define QPLAN_FILESORT 1 << 1
@@ -36,7 +32,4 @@
#define QPLAN_TMP_TABLE 1 << 8
/* ... */
#define QPLAN_MAX ((ulong) 1) << 31 /* reserved as placeholder */
-#define QPLAN_ALWAYS_SET QPLAN_MAX
-#define QPLAN_VISIBLE_MASK (~(QPLAN_ALWAYS_SET))
-#warning simplify