mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
innodb_autoinc_lock_mode = 2 innodb_buffer_pool_dump_at_shutdown = ON innodb_buffer_pool_dump_pct = 25 innodb_buffer_pool_load_at_startup = ON innodb_checksum_algorithm = CRC32 innodb_file_format = Barracuda innodb_large_prefix = ON innodb_log_compressed_pages = ON innodb_purge_threads = 4 innodb_strict_mode = ON binlog_annotate_row_events = ON binlog_format = MIXED binlog-row-event-max-size = 8192 group_concat_max_len = 1M lock_wait_timeout = 86400 log_slow_admin_statements = ON log_slow_slave_statements = ON log_warnings = 2 max_allowed_packet = 16M replicate_annotate_row_events = ON slave_net_timeout = 60 sync_binlog = 1 aria_recover = BACKUP,QUICK myisam_recover_options = BACKUP,QUICK
24 lines
635 B
Plaintext
24 lines
635 B
Plaintext
include/master-slave.inc
|
|
[connection master]
|
|
connection slave;
|
|
include/stop_slave.inc
|
|
SET GLOBAL log_warnings = 2;
|
|
SET GLOBAL debug_dbug="d,inject_long_find_row_note";
|
|
include/start_slave.inc
|
|
connection master;
|
|
CREATE TABLE t1 (c1 INT);
|
|
connection slave;
|
|
connection master;
|
|
INSERT INTO t1 VALUES (1), (2);
|
|
UPDATE t1 SET c1= 1000 WHERE c1=2;
|
|
DELETE FROM t1;
|
|
DROP TABLE t1;
|
|
connection slave;
|
|
# Check if any note related to long DELETE_ROWS and UPDATE_ROWS appears in the error log
|
|
Occurrences: update=1, delete=1
|
|
include/stop_slave.inc
|
|
SET GLOBAL debug_dbug = '';
|
|
SET GLOBAL log_warnings = 2;
|
|
include/start_slave.inc
|
|
include/rpl_end.inc
|