• Jan Lindström's avatar
    MDEV-13037: wsrep_sst_mysqldump checking wrong version of mysql client · 86f9b771
    Jan Lindström authored
    This happens because on line 59 of /usr/bin/wsrep_sst_mysqldump
    we have a check :
       "if ! $MYSQL_CLIENT --version | grep 'Distrib 10.1' >/dev/null"
    but the client is 10.2 so it doesnt match the grep expression.
    
    Fixed check to be:
          "if ! $MYSQL_CLIENT --version | grep 'Distrib 10.' >/dev/null"
    so that every 10. version is accepted.
    86f9b771
wsrep_sst_mysqldump.sh 7.74 KB