summaryrefslogtreecommitdiff
path: root/include/mysql_com.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-04-09 23:27:52 +0200
committerSergei Golubchik <sergii@pisem.net>2013-04-09 23:27:52 +0200
commitc50ee6c23dbeb090963580754bec2f0a96ac0557 (patch)
tree76a55ce574f812b620a93a6831f3345f43c72c40 /include/mysql_com.h
parentda7eca021bbcd0d199a05543f58fae99e34646a1 (diff)
downloadmariadb-git-c50ee6c23dbeb090963580754bec2f0a96ac0557.tar.gz
MDEV-4088 Replication 10.0 -> 5.5 fails
Diffstat (limited to 'include/mysql_com.h')
-rw-r--r--include/mysql_com.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h
index 9ba17b416c4..e9a24fd767d 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -34,6 +34,13 @@
#define MYSQL50_TABLE_NAME_PREFIX_LENGTH (sizeof(MYSQL50_TABLE_NAME_PREFIX)-1)
#define SAFE_NAME_LEN (NAME_LEN + MYSQL50_TABLE_NAME_PREFIX_LENGTH)
+#ifdef EMBEDDED_LIBRARY
+#define RPL_VERSION_HACK ""
+#else
+/* this version must be the one that *does not* support pluggable auth */
+#define RPL_VERSION_HACK "5.5.5-"
+#endif
+
#define SERVER_VERSION_LENGTH 60
#define SQLSTATE_LENGTH 5
#define LIST_PROCESS_HOST_LEN 64