| 1 |
# |
| 2 |
# Bug #20445525 ADD A CONSISTENCY CHECK AGAINST DB_TRX_ID BEING |
| 3 |
# IN THE FUTURE |
| 4 |
# |
| 5 |
CREATE TABLE t1(a INT) row_format=redundant engine=innoDB stats_persistent=0; |
| 6 |
INSERT INTO t1 VALUES(1); |
| 7 |
InnoDB 0 transactions not purged |
| 8 |
call mtr.add_suppression("\\[Warning\\] InnoDB: A transaction id in a record of table `test`\\.`t1` is newer than the system-wide maximum"); |
| 9 |
call mtr.add_suppression("\\[ERROR\\] InnoDB: We detected index corruption"); |
| 10 |
call mtr.add_suppression("Index for table 't1' is corrupt; try to repair it"); |
| 11 |
SELECT * FROM t1; |
| 12 |
ERROR HY000: Index for table 't1' is corrupt; try to repair it |
| 13 |
DROP TABLE t1; |