Commit 7b115181 authored by Jan Lindström's avatar Jan Lindström Committed by GitHub

Merge pull request #557 from grooverdan/10.0-galera-wsrep_sst_mysqldump-safety

MDEV-15023 - wsrep_sst_mysqldump: safer test of version != 5
parents 8b54c314 42ccfd82
......@@ -120,7 +120,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
......
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