File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,13 @@ test_mysql_version() {
2222
2323 mkdir -p sandboxes
2424 rm -rf sandboxes/*
25- gh-ost-ci-env/bin/linux/dbdeployer replication " $mysql_version " --nodes 2 --sandbox-binary ${PWD} /sandbox/binary --sandbox-home ${PWD} /sandboxes --gtid --my-cnf-options log_slave_updates --my-cnf-options log_bin --my-cnf-options binlog_format=ROW --sandbox-directory rsandbox
25+
26+ if echo " $mysql_version " | egrep " 5[.]5[.]" ; then
27+ gtid=" "
28+ else
29+ gtid=" --gtid"
30+ fi
31+ gh-ost-ci-env/bin/linux/dbdeployer replication " $mysql_version " --nodes 2 --sandbox-binary ${PWD} /sandbox/binary --sandbox-home ${PWD} /sandboxes ${gtid} --my-cnf-options log_slave_updates --my-cnf-options log_bin --my-cnf-options binlog_format=ROW --sandbox-directory rsandbox
2632
2733 sed ' /sandboxes/d' -i gh-ost-ci-env/bin/gh-ost-test-mysql-master
2834 echo ' sandboxes/rsandbox/m "$@"' >> gh-ost-ci-env/bin/gh-ost-test-mysql-master
You can’t perform that action at this time.
0 commit comments