#At file:///home/hf/work/mysql_common/mysql-5.1-35999/
2656 Alexey Botchkov 2008-06-16
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.
modified:
include/my_global.h
per-file messages:
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.
=== modified file 'include/my_global.h'
--- a/include/my_global.h 2008-05-20 07:38:17 +0000
+++ b/include/my_global.h 2008-06-16 03:04:45 +0000
@@ -18,11 +18,6 @@
#ifndef _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
need. This is because of InnoDB's foreign key support, "safe" binlog
@@ -101,6 +96,11 @@
#endif
#endif /* !EMBEDDED_LIBRARY */
+#ifndef EMBEDDED_LIBRARY
+#define HAVE_REPLICATION
+#define HAVE_EXTERNAL_CLIENT
+#endif
+
/* Some defines to avoid ifdefs in the code */
#ifndef NETWARE_YIELD
#define NETWARE_YIELD
| Thread |
|---|
| • bzr commit into mysql-5.1 branch (holyfoot:2656) | Alexey Botchkov | 16 Jun |