summaryrefslogtreecommitdiff
path: root/sql/sql_repl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r--sql/sql_repl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc
index 3bffeaccb15..7c247302e02 100644
--- a/sql/sql_repl.cc
+++ b/sql/sql_repl.cc
@@ -16,9 +16,9 @@
// Sasha Pachev <sasha@mysql.com> is currently in charge of this file
-#ifndef EMBEDDED_LIBRARY
-
#include "mysql_priv.h"
+#ifdef HAVE_REPLICATION
+
#include "sql_repl.h"
#include "sql_acl.h"
#include "log_event.h"
@@ -1156,6 +1156,6 @@ int log_loaded_block(IO_CACHE* file)
return 0;
}
-#endif
+#endif /* HAVE_REPLICATION */