Skip to content

Commit

Permalink
Fixed a minor bug in MYSQL_VERSION in setup_ps_group_replication.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitj1988 committed Sep 20, 2022
1 parent e96380e commit c15eb5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pxc-tests/setup_ps_group_replication.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ BUILD_DIR=$(realpath $1)
UUID=$(uuidgen)
ONLY_GR_SETUP=1

MYSQL_VERSION=$(${BUILD_DIR}/bin/mysqld --version 2>&1 | grep -oe '[0-9]\.[0-9][\.0-9]*' | head -n1)
MYSQL_VERSION=$(${BUILD_DIR}/bin/mysqld --version 2>&1 | grep -oe 'Ver [0-9]\.[0-9]*' | grep -oe '[0-9]\.[0-9]*')

# Check if Build paths are valid
if [ ! -d $BUILD_DIR ]; then
Expand Down

0 comments on commit c15eb5b

Please sign in to comment.