| 1 |
--source include/no_valgrind_without_big.inc |
| 2 |
|
| 3 |
let $n=250; |
| 4 |
let $t=very_long_table_name; |
| 5 |
|
| 6 |
--disable_query_log |
| 7 |
|
| 8 |
let $i=$n; |
| 9 |
while ($i) |
| 10 |
{ |
| 11 |
--eval CREATE TABLE $t$i(a INT PRIMARY KEY) ENGINE=InnoDB; |
| 12 |
dec $i; |
| 13 |
} |
| 14 |
|
| 15 |
# If we set above n to 500, this test case could fail easily, because |
| 16 |
# the inndob buffer pool is too small, some of which would be occupied |
| 17 |
# by the recv*. With n=250, this test case could sporadically fail too. |
| 18 |
# So we have to set buffer pool size to 50M which should be enough for this |
| 19 |
# test case. Once we fix the bug#22179133 and bug#22186325, we should use |
| 20 |
# the default innodb buffer pool(or the smaller one). |
| 21 |
let $restart_parameters = restart: --innodb-redo-log-capacity=8M --innodb-buffer-pool-size=50M; |
| 22 |
--source include/kill_and_restart_mysqld.inc |
| 23 |
|
| 24 |
--disable_query_log |
| 25 |
let $i=$n; |
| 26 |
while ($i) |
| 27 |
{ |
| 28 |
--eval DROP TABLE $t$i; |
| 29 |
dec $i; |
| 30 |
} |
| 31 |
--enable_query_log |
| 32 |
|
| 33 |
--let $restart_parameters= restart: |
| 34 |
--source include/restart_mysqld.inc |