File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ master_host=
2020master_port=
2121replica_host=
2222replica_port=
23+ original_sql_mode=
2324
2425OPTIND=1
2526while getopts " b:" OPTION
@@ -46,6 +47,8 @@ verify_master_and_replica() {
4647 echo " Cannot enable event_scheduler on master"
4748 exit 1
4849 fi
50+ original_sql_mode=" $( gh-ost-test-mysql-master -e " select @@global.sql_mode" -s -s) "
51+ echo " sql_mode on master is ${original_sql_mode} "
4952
5053 if [ " $( gh-ost-test-mysql-replica -e " select 1" -ss) " != " 1" ] ; then
5154 echo " Cannot verify gh-ost-test-mysql-replica"
@@ -88,7 +91,6 @@ start_replication() {
8891test_single () {
8992 local test_name
9093 test_name=" $1 "
91- original_sql_mode=" $( gh-ost-test-mysql-master -e " select @@global.sql_mode" -s -s) "
9294
9395 if [ -f $tests_path /$test_name /ignore_versions ] ; then
9496 ignore_versions=$( cat $tests_path /$test_name /ignore_versions)
You can’t perform that action at this time.
0 commit comments