wsrep_sst_mysqldump: safer test of version != 5

This commit is contained in:
Daniel Black 2018-01-16 22:45:48 +11:00
parent d7b2bc98bf
commit 42ccfd8211

View File

@ -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