mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
eb75edfb2b
This makes it clear that the error code has nothing to do with errno. mysql-test/include/mtr_warnings.sql: Fixed suppression for new slave error messages mysql-test/lib/My/Test.pm: Use 'send' instead of 'print' to avoid errors about "wrong class ... back attempt" mysql-test/lib/v1/mtr_report.pl: Fixed suppression for new slave error messages mysql-test/mysql-test-run.pl: Fixed suppression for new slave error messages Removed warning from perl 5.16.2 about arrays mysql-test/r/flush_read_lock.result: Fixed suppression for new slave error messages sql/rpl_reporting.cc: Instead of writing "Errcode" to the log for Slave errors, use "Internal MariaDB error code"
20 lines
540 B
Text
20 lines
540 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
==== Setup table on master but not on slave ====
|
|
[on master]
|
|
CREATE TABLE t1 (a INT);
|
|
[on slave]
|
|
DROP TABLE t1;
|
|
==== Modify table on master ====
|
|
[on master]
|
|
INSERT INTO t1 VALUES (1);
|
|
==== Verify error on slave ====
|
|
[on slave]
|
|
call mtr.add_suppression("Slave SQL.*Error executing row event: .Table .test.t1. doesn.t exist., error.* 1146");
|
|
include/wait_for_slave_sql_error.inc [errno=1146]
|
|
==== Clean up ====
|
|
include/stop_slave_io.inc
|
|
RESET SLAVE;
|
|
[on master]
|
|
DROP TABLE t1;
|
|
include/rpl_end.inc
|