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
commit0accbd0364e0333e0b119aa9ce93e34ded9df6cb (patch)
treebdf0738c29dc1f57fbfba3a1754524e238f15b52 /sql/log_slow.h
parent37f87d73ae8dc6c30594867b40a5d70159acf63c (diff)
downloadmariadb-git-0accbd0364e0333e0b119aa9ce93e34ded9df6cb.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