| 1 |
# Create an empty data directory... |
| 2 |
# Unzip 5_7_9_clean.zip to the created directory... |
| 3 |
# Kill the server |
| 4 |
############################################################################################ |
| 5 |
# Case 6: Attempt to start on redo files with corrupted checkpoint header. |
| 6 |
# 6A: InnoDB refuses to start if both checkpoint headers are corrupted. |
| 7 |
# 6B: InnoDB successfully starts if one of checkpoint headers (older) is corrupted. |
| 8 |
############################################################################################ |
| 9 |
# Save the ib_logfile0... |
| 10 |
# Case 6A: Start MySQL... (attempt 1) |
| 11 |
# Verify... |
| 12 |
Pattern "Upgrading redo log: .*, LSN=" not found |
| 13 |
Pattern "innodb-unknown-compound-v" not found |
| 14 |
# Case 6A: Start MySQL... (attempt 2) |
| 15 |
# Verify... |
| 16 |
Pattern "Upgrading redo log: .*, LSN=" not found |
| 17 |
Pattern "innodb-unknown-compound-v" not found |
| 18 |
# Restore the saved ib_logfile0... |
| 19 |
############################################################################################ |
| 20 |
# Corrupt one of checkpoint headers (with older checkpoint_lsn)... |
| 21 |
# Case 6B: Start MySQL... (attempt 1) |
| 22 |
# Verify... |
| 23 |
Pattern "Upgrading redo log: .*, LSN=" found |
| 24 |
Pattern "innodb-unknown-compound-v" found |
| 25 |
# Case 6B: Start MySQL... (attempt 2) |
| 26 |
# Verify... |
| 27 |
Pattern "Upgrading redo log: .*, LSN=" not found |
| 28 |
Pattern "innodb-unknown-compound-v" found |
| 29 |
############################################################################################ |
| 30 |
# Cleanup... |
| 31 |
# restart |