21
17
---- Wait until slave stops with an error ----
22
19
Last_SQL_Error = Error 'Duplicate entry '1' for key 'PRIMARY'' on query. Default database: 'test'. Query: 'INSERT INTO t1 VALUES (1)' (expected "duplicate key" error)
26
24
---- Resolve the conflict on the slave and restart SQL thread ----
27
25
DELETE FROM t1 WHERE a = 1;
29
28
---- Sync slave and verify that there is no error ----
30
29
Last_SQL_Error = '' (expected no error)