1include/master-slave.inc 2[connection master] 3call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT"); 4call mtr.add_suppression("Slave SQL: The incident LOST_EVENTS occurred on the master. .*"); 5SET GLOBAL max_binlog_cache_size = 4096; 6SET GLOBAL binlog_cache_size = 4096; 7SET GLOBAL max_binlog_stmt_cache_size = 4096; 8SET GLOBAL binlog_stmt_cache_size = 4096; 9disconnect master; 10connect master,127.0.0.1,root,,test,$MASTER_MYPORT,; 11CREATE TABLE t1(a INT PRIMARY KEY, data VARCHAR(30000)) ENGINE=MYISAM; 12connection master; 13ERROR HY000: Writing one row to the row-based binary log failed 14include/wait_for_slave_sql_error_and_skip.inc [errno=1590] 15connection master; 16SET GLOBAL max_binlog_cache_size= ORIGINAL_VALUE; 17SET GLOBAL binlog_cache_size= ORIGINAL_VALUE; 18SET GLOBAL max_binlog_stmt_cache_size= ORIGINAL_VALUE; 19SET GLOBAL binlog_stmt_cache_size= ORIGINAL_VALUE; 20DROP TABLE t1; 21include/rpl_end.inc 22