| 1 |
# |
| 2 |
# Do clean shutdown of MySQL and remove log files. |
| 3 |
# |
| 4 |
Prepared a file with size = 0 bytes |
| 5 |
Prepared a file with size = 1 bytes |
| 6 |
Prepared a file with size = 65535 bytes |
| 7 |
Prepared a file with size = 65537 bytes |
| 8 |
# |
| 9 |
# Create #ib_redo0 as empty file and start MySQL. |
| 10 |
# We should detect that #ib_redo0 is empty. |
| 11 |
# |
| 12 |
Pattern "redo log file .*#ib_redo0 is empty" found |
| 13 |
# |
| 14 |
# Create #ib_redo0 with 1 byte inside and start MySQL. |
| 15 |
# We should detect that #ib_redo0 is too small. |
| 16 |
# |
| 17 |
Pattern "redo log file .*#ib_redo0 is smaller than 65536 bytes" found |
| 18 |
# |
| 19 |
# Create #ib_redo0 with 64kB-1 bytes inside and start MySQL. |
| 20 |
# We should detect that #ib_redo0 is too small. |
| 21 |
# |
| 22 |
Pattern "redo log file .*#ib_redo0 is smaller than 65536 bytes" found |
| 23 |
# |
| 24 |
# Create #ib_redo0 with 64kB+1 bytes inside and start MySQL. |
| 25 |
# We should detect that #ib_redo0's size is not divisible by page size. |
| 26 |
# |
| 27 |
Pattern ".*#ib_redo0 size 65537 is not a multiple of innodb_page_size" found |
| 28 |
|
| 29 |
# |
| 30 |
# Start MySQL afterwards. |
| 31 |
# |
| 32 |
# restart: |