diff --git a/script/cibuild-gh-ost-replica-tests b/script/cibuild-gh-ost-replica-tests index ab9d7e7..10d8e67 100755 --- a/script/cibuild-gh-ost-replica-tests +++ b/script/cibuild-gh-ost-replica-tests @@ -46,7 +46,7 @@ test_mysql_version() { mkdir -p sandboxes rm -rf sandboxes/* - local mysql_version_num=${version#*-} + local mysql_version_num=${mysql_version#*-} if echo "$mysql_version_num" | egrep "5[.]5[.]" ; then gtid="" else