mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
403f6e9607
Problem was that log_scrub function did not take required log_sys mutex. Background: Unused space in log blocks are padded with MLOG_DUMMY_RECORD if innodb-scrub-log is enabled. As log files are written on circular fashion old log blocks can be reused later for new redo-log entries. Scrubbing pads unused space in log blocks to avoid visibility of the possible old redo-log contents. log_scrub(): Take log_sys mutex log_pad_current_log_block(): Increase srv_stats.n_log_scrubs if padding is done. srv0srv.cc: Set srv_stats.n_log_scrubs to export vars innodb_scrub_log ha_innodb.cc: Export innodb_scrub_log to global status.
3 lines
134 B
Text
3 lines
134 B
Text
create table t1(a int not null primary key auto_increment,
|
|
b varchar(200), c char(100), d varchar(150)) engine=innodb;
|
|
DROP TABLE t1;
|