From c73b4b169861d76e4e98443d300dfed70907b1d8 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Sun, 14 Jan 2018 18:57:48 +1100 Subject: wsrep_sst_mysqldump: enforce a minimum version only --- scripts/wsrep_sst_mysqldump.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/wsrep_sst_mysqldump.sh') diff --git a/scripts/wsrep_sst_mysqldump.sh b/scripts/wsrep_sst_mysqldump.sh index f086d9873d0..6addb5d21ea 100644 --- a/scripts/wsrep_sst_mysqldump.sh +++ b/scripts/wsrep_sst_mysqldump.sh @@ -57,10 +57,10 @@ then fi # Check client version -if ! $MYSQL_CLIENT --version | grep 'Distrib 10.1' >/dev/null +if ! $MYSQL_CLIENT --version | grep 'Distrib 10\.[1-9]' >/dev/null then $MYSQL_CLIENT --version >&2 - wsrep_log_error "this operation requires MySQL client version 10 or newer" + wsrep_log_error "this operation requires MySQL client version 10.1 or newer" exit $EINVAL fi -- cgit v1.2.1