summaryrefslogtreecommitdiff
path: root/sql/slave.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/slave.h')
-rw-r--r--sql/slave.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/slave.h b/sql/slave.h
index 2c750e415bc..84685b7e429 100644
--- a/sql/slave.h
+++ b/sql/slave.h
@@ -1,3 +1,5 @@
+#ifndef EMBEDDED_LIBRARY
+
#ifndef SLAVE_H
#define SLAVE_H
@@ -461,3 +463,7 @@ extern I_List<i_string_pair> replicate_rewrite_db;
extern I_List<THD> threads;
#endif
+#else
+#define SLAVE_IO 1
+#define SLAVE_SQL 2
+#endif /* EMBEDDED_LIBRARY */