summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/my_bitmap.h2
-rw-r--r--sql/rpl_tblmap.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/include/my_bitmap.h b/include/my_bitmap.h
index 33cd61de8a0..8afeb1b8107 100644
--- a/include/my_bitmap.h
+++ b/include/my_bitmap.h
@@ -17,7 +17,9 @@
#ifndef _my_bitmap_h_
#define _my_bitmap_h_
+#ifdef THREAD
#include <my_pthread.h>
+#endif
#define MY_BIT_NONE (~(uint) 0)
diff --git a/sql/rpl_tblmap.h b/sql/rpl_tblmap.h
index cfc2d7c2c6c..23864bd329e 100644
--- a/sql/rpl_tblmap.h
+++ b/sql/rpl_tblmap.h
@@ -54,10 +54,6 @@ private:
public:
- enum {
- NO_TABLE = ULONG_MAX
- };
-
enum enum_error {
ERR_NO_ERROR = 0,
ERR_LIMIT_EXCEEDED,