mirror of
https://github.com/MariaDB/server.git
synced 2026-04-18 22:35:33 +02:00
BUG#31702 (Missing row on slave causes assertion failure under row-based
replication): Incremental patch to enable idempotency support for update events again. The final handling of errors will be done in BUG#31609, and until then the handling of errors should be consistent between the different types of changes. mysql-test/suite/rpl/r/rpl_row_basic_11bugs.result: Result change. mysql-test/suite/rpl/r/rpl_temporary_errors.result: Result change. mysql-test/suite/rpl/t/rpl_row_basic_11bugs.test: Changing test to assume idempotency handling of update event. mysql-test/suite/rpl/t/rpl_temporary_errors.test: Changing test to assume idempotency handling of update event. sql/log_event.cc: Incremental patch to enable idempotency support for the update events again. The real error handling will be implemented in BUG#31609.
This commit is contained in:
parent
219e6a6438
commit
4a08f39214
5 changed files with 13 additions and 20 deletions
|
|
@ -245,11 +245,9 @@ SELECT * FROM t1 ORDER BY a;
|
|||
--echo **** On Master ****
|
||||
connection master;
|
||||
UPDATE t1 SET a = 5, b = 'master' WHERE a = 1;
|
||||
save_master_pos;
|
||||
SELECT * FROM t1 ORDER BY a;
|
||||
--echo **** On Slave ****
|
||||
connection slave;
|
||||
source include/wait_for_slave_sql_error.inc;
|
||||
sync_slave_with_master;
|
||||
let $last_error = query_get_value("SHOW SLAVE STATUS", Last_SQL_Error, 1);
|
||||
disable_query_log;
|
||||
eval SELECT "$last_error" AS Last_SQL_Error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue