mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 10:31:54 +01:00
wsrep_sst_mysqldump: enforce a minimum version only
This commit is contained in:
parent
578ffcc5ef
commit
c73b4b1698
1 changed files with 2 additions and 2 deletions
|
@ -57,10 +57,10 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check client version
|
# 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
|
then
|
||||||
$MYSQL_CLIENT --version >&2
|
$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
|
exit $EINVAL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue