polardbxengine/mysql-test/suite/xengine_rpl/r/rpl_gtid_crash_safe.result

285 lines
5.2 KiB
Plaintext

include/master-slave.inc
Warnings:
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
[connection master]
call mtr.add_suppression("Recovery from master pos");
create table t1(a int, PRIMARY KEY(a)) ENGINE=XENGINE ;
insert into t1 values(1);
insert into t1 values(2);
use mysql;
SET GLOBAL debug = '+d,crash_before_update_pos';
insert into t1 values(3);
include/rpl_reconnect.inc
SET GLOBAL debug = ``;
use mysql;
use test;
select * from t1;
a
1
2
change master to master_auto_position = 1;
include/start_slave.inc
rename table t1 to test1;
use test;
select * from test1;
a
1
2
3
use test;
select * from test1;
a
1
2
3
drop table test1;
include/stop_slave.inc
change master to master_auto_position = 0;
include/start_slave.inc
use mysql;
include/rpl_reset.inc
create table t1(a int, PRIMARY KEY(a)) ENGINE=XENGINE ;
insert into t1 values(1);
insert into t1 values(2);
use mysql;
SET GLOBAL debug = '+d,crash_after_update_pos_before_apply';
insert into t1 values(3);
include/rpl_reconnect.inc
SET GLOBAL debug = ``;
use mysql;
use test;
select * from t1;
a
1
2
change master to master_auto_position = 1;
include/start_slave.inc
rename table t1 to test1;
use test;
select * from test1;
a
1
2
3
use test;
select * from test1;
a
1
2
3
drop table test1;
include/stop_slave.inc
change master to master_auto_position = 0;
include/start_slave.inc
use mysql;
include/rpl_reset.inc
create table t1(a int, PRIMARY KEY(a)) ENGINE=XENGINE ;
insert into t1 values(1);
insert into t1 values(2);
use mysql;
SET GLOBAL debug = '+d,crash_before_writing_xid';
insert into t1 values(3);
include/rpl_reconnect.inc
SET GLOBAL debug = ``;
use mysql;
use test;
select * from t1;
a
1
2
change master to master_auto_position = 1;
include/start_slave.inc
rename table t1 to test1;
use test;
select * from test1;
a
1
2
use test;
select * from test1;
a
1
2
3
drop table test1;
include/stop_slave.inc
change master to master_auto_position = 0;
include/start_slave.inc
use mysql;
include/rpl_reset.inc
create table t1(a int, PRIMARY KEY(a)) ENGINE=XENGINE ;
insert into t1 values(1);
insert into t1 values(2);
use mysql;
SET GLOBAL debug = '+d,half_binlogged_transaction';
insert into t1 values(3);
include/rpl_reconnect.inc
SET GLOBAL debug = ``;
use mysql;
use test;
select * from t1;
a
1
2
change master to master_auto_position = 1;
include/start_slave.inc
rename table t1 to test1;
use test;
select * from test1;
a
1
2
3
use test;
select * from test1;
a
1
2
3
drop table test1;
include/stop_slave.inc
change master to master_auto_position = 0;
include/start_slave.inc
use mysql;
include/rpl_reset.inc
create table t1(a int, PRIMARY KEY(a)) ENGINE=XENGINE ;
insert into t1 values(1);
insert into t1 values(2);
use mysql;
SET GLOBAL debug = '+d,crash_commit_before';
insert into t1 values(3);
include/rpl_reconnect.inc
SET GLOBAL debug = ``;
use mysql;
use test;
select * from t1;
a
1
2
change master to master_auto_position = 1;
include/start_slave.inc
rename table t1 to test1;
use test;
select * from test1;
a
1
2
3
use test;
select * from test1;
a
1
2
3
drop table test1;
include/stop_slave.inc
change master to master_auto_position = 0;
include/start_slave.inc
use mysql;
include/rpl_reset.inc
create table t1(a int, PRIMARY KEY(a)) ENGINE=XENGINE ;
insert into t1 values(1);
insert into t1 values(2);
use mysql;
SET GLOBAL debug = '+d,crash_commit_after_log';
insert into t1 values(3);
include/rpl_reconnect.inc
SET GLOBAL debug = ``;
use mysql;
use test;
select * from t1;
a
1
2
change master to master_auto_position = 1;
include/start_slave.inc
rename table t1 to test1;
use test;
select * from test1;
a
1
2
use test;
select * from test1;
a
1
2
3
drop table test1;
include/stop_slave.inc
change master to master_auto_position = 0;
include/start_slave.inc
use mysql;
include/rpl_reset.inc
create table t1(a int, PRIMARY KEY(a)) ENGINE=XENGINE ;
insert into t1 values(1);
insert into t1 values(2);
use mysql;
SET GLOBAL debug = '+d,crash_commit_after_prepare';
insert into t1 values(3);
include/rpl_reconnect.inc
SET GLOBAL debug = ``;
use mysql;
use test;
select * from t1;
a
1
2
change master to master_auto_position = 1;
include/start_slave.inc
rename table t1 to test1;
use test;
select * from test1;
a
1
2
3
use test;
select * from test1;
a
1
2
3
drop table test1;
include/stop_slave.inc
change master to master_auto_position = 0;
include/start_slave.inc
use mysql;
include/rpl_reset.inc
create table t1(a int, PRIMARY KEY(a)) ENGINE=XENGINE ;
insert into t1 values(1);
insert into t1 values(2);
use mysql;
SET GLOBAL debug = '+d,crash_commit_after';
insert into t1 values(3);
include/rpl_reconnect.inc
SET GLOBAL debug = ``;
use mysql;
use test;
select * from t1;
a
1
2
change master to master_auto_position = 1;
include/start_slave.inc
rename table t1 to test1;
use test;
select * from test1;
a
1
2
3
use test;
select * from test1;
a
1
2
3
drop table test1;
include/stop_slave.inc
change master to master_auto_position = 0;
include/start_slave.inc
use mysql;
include/rpl_end.inc