Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tianmu):issue1090.test occasionally fails to run(#1234) #1314

Merged
merged 2 commits into from
Feb 16, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions mysql-test/suite/tianmu/r/issue1090.result
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ t_issue1090 CREATE TABLE `t_issue1090` (
`c3` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1
[on slave]
include/sync_slave_sql_with_master.inc
show global variables like 'sql_mode';
Variable_name Value
sql_mode STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Expand Down Expand Up @@ -98,6 +99,7 @@ t_issue1090_2 CREATE TABLE `t_issue1090_2` (
`c3` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1
[on slave]
include/sync_slave_sql_with_master.inc
show global variables like 'sql_mode';
Variable_name Value
sql_mode STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,MANDATORY_TIANMU
Expand Down Expand Up @@ -155,6 +157,7 @@ t_issue1090_3 CREATE TABLE `t_issue1090_3` (
`c3` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1
[on slave]
include/sync_slave_sql_with_master.inc
show global variables like 'sql_mode';
Variable_name Value
sql_mode STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Expand Down Expand Up @@ -210,6 +213,7 @@ t_issue1090_4 CREATE TABLE `t_issue1090_4` (
`c1` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1
[on slave]
include/sync_slave_sql_with_master.inc
show global variables like 'sql_mode';
Variable_name Value
sql_mode STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,MANDATORY_TIANMU
Expand Down
12 changes: 4 additions & 8 deletions mysql-test/suite/tianmu/t/issue1090.test
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ connection master;
alter table t_issue1090 add c3 int;
show create table t_issue1090;
--echo [on slave]
connection slave;
sleep 1;
--source include/sync_slave_sql_with_master.inc
show global variables like 'sql_mode';
show global variables like '%_engine';
show create table t_issue1090;
Expand Down Expand Up @@ -61,8 +60,7 @@ connection master;
alter table t_issue1090_2 add c3 int;
show create table t_issue1090_2;
--echo [on slave]
connection slave;
sleep 1;
--source include/sync_slave_sql_with_master.inc
show global variables like 'sql_mode';
show global variables like '%_engine';
show create table t_issue1090_2;
Expand Down Expand Up @@ -94,8 +92,7 @@ connection master;
alter table t_issue1090_3 add c3 int;
show create table t_issue1090_3;
--echo [on slave]
connection slave;
sleep 1;
--source include/sync_slave_sql_with_master.inc
show global variables like 'sql_mode';
show global variables like '%_engine';
show create table t_issue1090_3;
Expand Down Expand Up @@ -129,8 +126,7 @@ connection master;
alter table t_issue1090_4 DROP COLUMN c2;
show create table t_issue1090_4;
--echo [on slave]
connection slave;
sleep 1;
--source include/sync_slave_sql_with_master.inc
show global variables like 'sql_mode';
show global variables like '%_engine';
show create table t_issue1090_4;
Expand Down