| 1 |
call mtr.add_suppression("InnoDB: Unable to read tablespace .* page no .* into the buffer pool after 100 attempts"); |
| 2 |
call mtr.add_suppression("InnoDB: Warning: database page corruption or a failed"); |
| 3 |
CREATE TABLE tab1(c1 INT PRIMARY KEY,c2 VARCHAR(20)) ENGINE=InnoDB; |
| 4 |
CREATE INDEX idx1 ON tab1(c2(10)); |
| 5 |
INSERT INTO tab1 VALUES(1, 'Innochecksum InnoDB1'); |
| 6 |
# Shutdown the Server |
| 7 |
# Server Default checksum = innodb |
| 8 |
[1b]: check the innochecksum without --strict-check |
| 9 |
[4]: check the innochecksum with --no-check ignores algorithm check, warning is expected |
| 10 |
FOUND 1 /Error: --no-check must be associated with --write option./ in my_restart.err |
| 11 |
[5]: check the innochecksum with short form --no-check ignores algorithm check, warning is expected |
| 12 |
FOUND 1 /Error: --no-check must be associated with --write option./ in my_restart.err |
| 13 |
[6]: check the innochecksum with full form strict-check & no-check , an error is expected |
| 14 |
FOUND 1 /unknown variable 'strict-check=innodb'/ in my_restart.err |
| 15 |
[7]: check the innochecksum with short form strict-check & no-check , an error is expected |
| 16 |
FOUND 1 /unknown option '-C'/ in my_restart.err |
| 17 |
FOUND 1 /ignoring option '--write' due to invalid value 'crc32'/ in my_restart.err |
| 18 |
FOUND 1 /Error: --no-check must be associated with --write option/ in my_restart.err |
| 19 |
# restart |
| 20 |
SELECT * FROM tab1; |
| 21 |
c1 c2 |
| 22 |
1 Innochecksum InnoDB1 |
| 23 |
DROP TABLE tab1; |