| 1 |
# Create an empty data directory... |
| 2 |
# Unzip 5_7_9_clean.zip to the created directory... |
| 3 |
# Kill the server |
| 4 |
############################################################################################ |
| 5 |
# Case 7: Attempt to start on non-empty redo files. |
| 6 |
# 7A: InnoDB refuses to start on logically non-empty redo log. |
| 7 |
# 7B: InnoDB refuses to start when the first log block is corrupted (invalid checksum). |
| 8 |
############################################################################################ |
| 9 |
# Update data_len field to 512 in the data block containing the checkpoint_lsn... |
| 10 |
# Case 7A: Start MySQL... (attempt 1) |
| 11 |
# Verify... |
| 12 |
Pattern "Upgrade is not supported after a crash or shutdown with innodb_fast_shutdown = 2.* appears logically non empty" found |
| 13 |
Pattern "Upgrading redo log: .*, LSN=" not found |
| 14 |
Pattern "innodb-unknown-compound-v" not found |
| 15 |
# Case 7A: Start MySQL... (attempt 2) |
| 16 |
# Verify... |
| 17 |
Pattern "Upgrade is not supported after a crash or shutdown with innodb_fast_shutdown = 2.* appears logically non empty" found |
| 18 |
Pattern "Upgrading redo log: .*, LSN=" not found |
| 19 |
Pattern "innodb-unknown-compound-v" not found |
| 20 |
############################################################################################ |
| 21 |
# Case 7B: Start MySQL... (attempt 1) |
| 22 |
# Verify... |
| 23 |
Pattern "Upgrade after a crash is not supported.* appears corrupted" found |
| 24 |
Pattern "Upgrading redo log: .*, LSN=" not found |
| 25 |
Pattern "innodb-unknown-compound-v" not found |
| 26 |
# Case 7B: Start MySQL... (attempt 2) |
| 27 |
# Verify... |
| 28 |
Pattern "Upgrade after a crash is not supported.* appears corrupted" found |
| 29 |
Pattern "Upgrading redo log: .*, LSN=" not found |
| 30 |
Pattern "innodb-unknown-compound-v" not found |
| 31 |
############################################################################################ |
| 32 |
# Cleanup... |
| 33 |
# restart |