| 1 |
# Create new data directory (in order to corrupt its redo log files)... |
| 2 |
############################################################################################ |
| 3 |
# Case 1. Attempt to start with redo files in old location, filled with 0x00. |
| 4 |
############################################################################################ |
| 5 |
# Prepare... |
| 6 |
# Start MySQL... (attempt 1) |
| 7 |
# Verify... |
| 8 |
Pattern "Unsupported redo log format \(v0\)" found |
| 9 |
Pattern "innodb-unknown-compound-v" not found |
| 10 |
# Start MySQL... (attempt 2) |
| 11 |
# Verify... |
| 12 |
Pattern "Unsupported redo log format \(v0\)" found |
| 13 |
Pattern "innodb-unknown-compound-v" not found |
| 14 |
############################################################################################ |
| 15 |
# Case 2. Attempt to start with redo files in new location, filled with 0x00. |
| 16 |
############################################################################################ |
| 17 |
# Prepare... |
| 18 |
# Start MySQL... (attempt 1) |
| 19 |
# Verify... |
| 20 |
Pattern "Found redo log file.*#ib_redo1 which has format \(v0\) and is stored inside #innodb_redo" found |
| 21 |
Pattern "innodb-unknown-compound-v" not found |
| 22 |
# Start MySQL... (attempt 2) |
| 23 |
# Verify... |
| 24 |
Pattern "Found redo log file.*#ib_redo1 which has format \(v0\) and is stored inside #innodb_redo" found |
| 25 |
Pattern "innodb-unknown-compound-v" not found |
| 26 |
############################################################################################ |
| 27 |
# Case 3. Attempt to start with redo files in old location, with future format (4294967295). |
| 28 |
############################################################################################ |
| 29 |
# Prepare... |
| 30 |
# Start MySQL... (attempt 1) |
| 31 |
# Verify... |
| 32 |
Pattern "Found redo log file .*ib_logfile0 which has format \(v4294967295\) and is stored outside #innodb_redo" found |
| 33 |
Pattern "innodb-unknown-compound-v" not found |
| 34 |
# Start MySQL... (attempt 2) |
| 35 |
# Verify... |
| 36 |
Pattern "Found redo log file .*ib_logfile0 which has format \(v4294967295\) and is stored outside #innodb_redo" found |
| 37 |
Pattern "innodb-unknown-compound-v" not found |
| 38 |
############################################################################################ |
| 39 |
# Case 4. Attempt to start with redo files in new location, with future format (4294967295). |
| 40 |
############################################################################################ |
| 41 |
# Prepare... |
| 42 |
# Start MySQL... (attempt 1) |
| 43 |
# Verify... |
| 44 |
Pattern "Unknown redo log format \(v4294967295\) in file.*#ib_redo1" found |
| 45 |
Pattern "innodb-unknown-compound-v" not found |
| 46 |
# Start MySQL... (attempt 2) |
| 47 |
# Verify... |
| 48 |
Pattern "Unknown redo log format \(v4294967295\) in file.*#ib_redo1" found |
| 49 |
Pattern "innodb-unknown-compound-v" not found |
| 50 |
############################################################################################ |
| 51 |
# Cleanup... |