| 1 |
# This test case will test R-tree purge. |
| 2 |
|
| 3 |
--source include/long_test.inc |
| 4 |
--source include/innodb_page_size.inc |
| 5 |
--source include/have_sequence.inc |
| 6 |
--source include/not_valgrind.inc |
| 7 |
--source include/no_msan_without_big.inc |
| 8 |
|
| 9 |
create table t ( |
| 10 |
b point not null,d point not null, spatial key (d),spatial key (b) |
| 11 |
) engine=innodb stats_persistent=0; |
| 12 |
|
| 13 |
--disable_query_log |
| 14 |
set @p=point(1,1); |
| 15 |
let $n=200; |
| 16 |
while ($n) { |
| 17 |
begin; |
| 18 |
insert into t select @p,@p from seq_1_to_130; |
| 19 |
delete from t; |
| 20 |
commit; |
| 21 |
dec $n; |
| 22 |
} |
| 23 |
--enable_query_log |
| 24 |
|
| 25 |
--source ../../innodb/include/wait_all_purged.inc |
| 26 |
|
| 27 |
# Clean up. |
| 28 |
drop table t; |