mirror of
https://github.com/MariaDB/server.git
synced 2025-04-10 09:15:37 +02:00

- Record unrecorded tests from `rpl` suite to `engines/funcs` suite (done byd8e448ba1b
): 1) Record test `rpl_row_until` from commitd95fa7e332
2) Record test `rpl_slave_status` from commita7d186a17d
- Stop only running threads for `engines/funcs.rpl_server_id1.test` that is not the same as `rpl.rpl_server_id1.test` - Reviewer: <knielsen@knielsen-hq.org> <andrei.elkin@mariadb.com>
21 lines
770 B
Text
21 lines
770 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
connection slave;
|
|
create table t1 (n int);
|
|
reset master;
|
|
include/stop_slave.inc
|
|
change master to master_port=SLAVE_PORT;
|
|
Slave_IO_Running = 'No'
|
|
Slave_SQL_Running = 'No'
|
|
Last_SQL_Errno = '0'
|
|
Last_SQL_Error = ''
|
|
Exec_Master_Log_Pos = '0'
|
|
start slave;
|
|
insert into t1 values (1);
|
|
include/wait_for_slave_param.inc [Last_IO_Errno]
|
|
Last_IO_Errno = '1593'
|
|
Last_IO_Error = 'Fatal error: The slave I/O thread stops because master and slave have equal MySQL server ids; these ids must be different for replication to work (or the --replicate-same-server-id option must be used on slave but this does not always make sense; please check the manual before using it).'
|
|
include/stop_slave_sql.inc
|
|
reset slave;
|
|
reset master;
|
|
drop table t1;
|