mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Added the condition in innochecksum tool to check page id mismatch. This could catch the write corruption caused by InnoDB. Added the debug insert inside fil_io() to check whether it writes the page to wrong offset.
7 lines
198 B
Plaintext
7 lines
198 B
Plaintext
# Set the environmental variables
|
|
create table t1(f1 int not null)engine=innodb;
|
|
insert into t1 values(1), (2), (3);
|
|
# Change the page offset
|
|
FOUND 1 /page id mismatch/ in result.log
|
|
drop table t1;
|