diff options
author | Daniel Black <grooverdan@users.sourceforge.net> | 2018-01-16 22:45:48 +1100 |
---|---|---|
committer | Daniel Black <grooverdan@users.sourceforge.net> | 2018-01-16 22:45:48 +1100 |
commit | 42ccfd82110292a4693b760295699cd6c57bbd94 (patch) | |
tree | 0efa2e12679e8a53accf84c648c0f147d3421bd5 /scripts | |
parent | d7b2bc98bf55dded58e4d5d4a19e4aa48b30b26b (diff) | |
download | mariadb-git-42ccfd82110292a4693b760295699cd6c57bbd94.tar.gz |
wsrep_sst_mysqldump: safer test of version != 5
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/wsrep_sst_mysqldump.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/wsrep_sst_mysqldump.sh b/scripts/wsrep_sst_mysqldump.sh index f6f2187006d..56174e914dc 100644 --- a/scripts/wsrep_sst_mysqldump.sh +++ b/scripts/wsrep_sst_mysqldump.sh @@ -124,7 +124,7 @@ SET_GTID_BINLOG_STATE="" SQL_LOG_BIN_OFF="" # Safety check -if echo $SERVER_VERSION | grep '^10.0' > /dev/null +if [ ${SERVER_VERSION%%.*} != '5' ] then # If binary logging is enabled on the joiner node, we need to copy donor's # gtid_binlog_state to joiner. In order to do that, a RESET MASTER must be |