mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
wsrep_sst_mysqldump: enforce a minimum version only
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user