Commit f549f0b1 authored by Alexey Botchkov's avatar Alexey Botchkov

Bug #35999 When using the embedded server a wrong message comes.

HAVE_REPLICATION was on for the embedded server as the #define was in wrong place.

include/my_global.h:
  Bug #35999 When using the embedded server a wrong message comes.
  
  #define HAVE_REPLICATION moved after the 'include config.h' so it won't be
  enabled with the embedded server.
parent 40bcbf9b
...@@ -18,11 +18,6 @@ ...@@ -18,11 +18,6 @@
#ifndef _global_h #ifndef _global_h
#define _global_h #define _global_h
#ifndef EMBEDDED_LIBRARY
#define HAVE_REPLICATION
#define HAVE_EXTERNAL_CLIENT
#endif
/* /*
InnoDB depends on some MySQL internals which other plugins should not InnoDB depends on some MySQL internals which other plugins should not
need. This is because of InnoDB's foreign key support, "safe" binlog need. This is because of InnoDB's foreign key support, "safe" binlog
...@@ -101,6 +96,11 @@ ...@@ -101,6 +96,11 @@
#endif #endif
#endif /* !EMBEDDED_LIBRARY */ #endif /* !EMBEDDED_LIBRARY */
#ifndef EMBEDDED_LIBRARY
#define HAVE_REPLICATION
#define HAVE_EXTERNAL_CLIENT
#endif
/* Some defines to avoid ifdefs in the code */ /* Some defines to avoid ifdefs in the code */
#ifndef NETWARE_YIELD #ifndef NETWARE_YIELD
#define NETWARE_YIELD #define NETWARE_YIELD
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment