Skip to content

Commit 9cfbfbf

Browse files
author
Shlomi Noach
committed
disable gtid for 5.5
1 parent 8f9f6c1 commit 9cfbfbf

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

script/cibuild-gh-ost-replica-tests

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)