1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00
Files
mariadb/mysql-test/suite/rpl/r/rpl_slave_load_remove_tmpfile.result
2020-01-16 10:25:01 +01:00

27 lines
948 B
Plaintext

include/master-slave.inc
[connection master]
connection slave;
SET @saved_dbug = @@GLOBAL.debug_dbug;
SET @@global.debug_dbug= '+d,remove_slave_load_file_before_write';
connection master;
create table t1(a int not null auto_increment, b int, primary key(a)) engine=innodb;
start transaction;
insert into t1(b) values (1);
insert into t1(b) values (2);
load data infile '../../std_data/rpl_loaddata.dat' into table t1;
commit;
connection slave;
include/wait_for_slave_sql_error.inc [errno=29, 13]
connection master;
drop table t1;
include/sync_slave_io_with_master.inc
include/stop_slave_io.inc
RESET SLAVE;
drop table t1;
call mtr.add_suppression("Slave: Can't get stat of .*");
call mtr.add_suppression("Slave SQL: Error .Can.t get stat of.* error.* 13");
call mtr.add_suppression("Slave: File.* not found.*");
call mtr.add_suppression("Slave SQL: Error .File.* not found.* error.* 29");
SET @@GLOBAL.debug_dbug = @saved_dbug;
include/rpl_end.inc