diff options
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 24ec1fc2536..0fbf4f67846 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -14,8 +14,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef EMBEDDED_LIBRARY #include "mysql_priv.h" + +#ifdef HAVE_REPLICATION + #include <mysql.h> #include <myisam.h> #include "mini_client.h" @@ -26,6 +28,7 @@ #include <my_dir.h> #include <assert.h> + bool use_slave_mask = 0; MY_BITMAP slave_error_mask; @@ -3182,4 +3185,4 @@ template class I_List_iterator<i_string>; template class I_List_iterator<i_string_pair>; #endif -#endif /* EMBEDDED_LIBRARY */ +#endif /* HAVE_REPLICATION */ |