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(mtr):Resolve the nightly run error problem(#1458) #1459

Merged
merged 1 commit into from
Mar 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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
7 changes: 7 additions & 0 deletions mysql-test/suite/tianmu/r/issue1111.result
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ id name
1 lllll
[on slave]
include/sync_slave_sql_with_master.inc
show create table ttt;
Table Create Table
ttt CREATE TABLE `ttt` (
`id` int(11) NOT NULL,
`name` varchar(64) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=TIANMU DEFAULT CHARSET=latin1
select * from ttt where id in(1,3,2) order by id desc;
id name
3 lllll
Expand Down
7 changes: 7 additions & 0 deletions mysql-test/suite/tianmu/r/issue1174.result
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ id name
0 lllll
[on slave]
include/sync_slave_sql_with_master.inc
show create table ttt;
Table Create Table
ttt CREATE TABLE `ttt` (
`id` int(11) NOT NULL,
`name` varchar(64) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=TIANMU DEFAULT CHARSET=latin1
select * from ttt where id in(1,3,2,0) order by id desc;
id name
3 lllll
Expand Down
1 change: 1 addition & 0 deletions mysql-test/suite/tianmu/t/issue1111-slave.opt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--sql_mode='NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,MANDATORY_TIANMU,NO_KEY_ERROR'
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ drop table if exists `t3`;
-- source include/master-slave.inc
--enable_warnings


--echo #
--echo # Has primary key
--echo #
Expand All @@ -34,6 +33,7 @@ update ttt set name='lllll' where id in(1,3,2);
select * from ttt where id in(1,3,2) order by id desc;
--echo [on slave]
--source include/sync_slave_sql_with_master.inc
show create table ttt;
select * from ttt where id in(1,3,2) order by id desc;
--echo [on master]
connection master;
Expand Down
1 change: 1 addition & 0 deletions mysql-test/suite/tianmu/t/issue1174-slave.opt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--sql_mode='NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,MANDATORY_TIANMU,NO_KEY_ERROR'
2 changes: 1 addition & 1 deletion mysql-test/suite/tianmu/t/issue1174.test
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ drop table if exists `t3`;
-- source include/master-slave.inc
--enable_warnings


--echo #
--echo # Has primary key
--echo #
Expand All @@ -35,6 +34,7 @@ update ttt set name='lllll' where id in(1,3,2,0);
select * from ttt where id in(1,3,2,0) order by id desc;
--echo [on slave]
--source include/sync_slave_sql_with_master.inc
show create table ttt;
select * from ttt where id in(1,3,2,0) order by id desc;
--echo [on master]
connection master;
Expand Down