mysql-test/suite/innodb/include/force_purge.inc
raw| 1 | # Create and drop a table, so that purge has something to do. |
| 2 | --disable_query_log |
| 3 | create table tmp_purge (a int primary key) engine innodb STATS_PERSISTENT=0; |
| 4 | drop table tmp_purge; |
| 5 | SET GLOBAL innodb_purge_run_now=ON; |
| 6 | --enable_query_log |
| 7 | # run purge and wait until done. |
| 8 | --source include/wait_innodb_all_purged.inc |