| 1 |
############################################################################################ |
| 2 |
# Case 1. The redo log directory has ib_logfile0 before initializing new datadir. |
| 3 |
############################################################################################ |
| 4 |
# Prepare... |
| 5 |
# Start MySQL... |
| 6 |
# Verify... |
| 7 |
Pattern "--initialize specified but the redo log directory .*logdir.*has redo log files inside\. Aborting" found |
| 8 |
Pattern "data directory .*datadir.*is unusable" found |
| 9 |
Pattern "Bootstrapping complete" not found |
| 10 |
# Cleanup... |
| 11 |
############################################################################################ |
| 12 |
# Case 2. The redo log directory has #innodb_redo/#ib_redo1 before initializing new datadir. |
| 13 |
############################################################################################ |
| 14 |
# Prepare... |
| 15 |
# Start MySQL... |
| 16 |
# Verify... |
| 17 |
Pattern "--initialize specified but the redo log directory .*logdir.*has redo log files inside\. Aborting" found |
| 18 |
Pattern "data directory .*datadir.*is unusable" found |
| 19 |
Pattern "Bootstrapping complete" not found |
| 20 |
# Cleanup... |
| 21 |
############################################################################################ |
| 22 |
# Case 3. The redo log directory has empty #innodb_redo before initializing new datadir. |
| 23 |
############################################################################################ |
| 24 |
# Prepare... |
| 25 |
# Start MySQL... |
| 26 |
# Verify... |
| 27 |
Pattern "Bootstrapping complete" found |
| 28 |
# Cleanup... |