summaryrefslogtreecommitdiff
path: root/scripts/wsrep_sst_mysqldump.sh
diff options
context:
space:
mode:
authorDaniel Black <grooverdan@users.sourceforge.net>2018-01-14 18:57:48 +1100
committerDaniel Black <grooverdan@users.sourceforge.net>2018-01-17 20:16:59 +1100
commitc73b4b169861d76e4e98443d300dfed70907b1d8 (patch)
tree39250f5316e39799c60f551a429cac949080aa12 /scripts/wsrep_sst_mysqldump.sh
parent578ffcc5efad3da20a21056067755e0ae9e39267 (diff)
downloadmariadb-git-c73b4b169861d76e4e98443d300dfed70907b1d8.tar.gz
wsrep_sst_mysqldump: enforce a minimum version only
Diffstat (limited to 'scripts/wsrep_sst_mysqldump.sh')
-rw-r--r--scripts/wsrep_sst_mysqldump.sh4
1 files changed, 2 insertions, 2 deletions
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