| 1 |
# Create an empty data directory... |
| 2 |
# Unzip 5_7_9_clean.zip to the created directory... |
| 3 |
# Kill the server |
| 4 |
############################################################################################ |
| 5 |
# Case 3: Attempt to start with ib_logfile0 which has corrupted file header (checksum). |
| 6 |
# Pre-conditions: logically empty redo files from mysql-5.7.9, |
| 7 |
# with corrupted checksum of the ib_logfile0's header |
| 8 |
# 3A: InnoDB refuses to start and emits error about corrupted file header |
| 9 |
# NOTE: Ensure there was no attempt to check if redo is empty. |
| 10 |
############################################################################################ |
| 11 |
# Case 3A: Start MySQL... |
| 12 |
# Verify... |
| 13 |
Pattern "Invalid redo log header checksum" found |
| 14 |
Pattern "Failed to read header of the redo log file .*ib_logfile0" found |
| 15 |
Pattern "Upgrading redo log: .*, LSN=" not found |
| 16 |
Pattern "innodb-unknown-compound-v" not found |
| 17 |
############################################################################################ |
| 18 |
# Cleanup... |
| 19 |
# restart |