summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/innodb_gis/t/rtree_purge.test
blob: cab86aa668f55b8070acbd7b756b750e8cd271f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# This test case will test R-tree purge.

--source include/innodb_page_size.inc
--source include/have_sequence.inc
--source include/not_valgrind.inc
# This test often times out with MSAN
--source include/not_msan.inc

create table t (
  b point not null,d point not null, spatial key (d),spatial key (b)
) engine=innodb;

--disable_query_log
set @p=point(1,1);
let $n=200;
while ($n) {
begin;
insert into t select @p,@p from seq_1_to_130;
delete from t;
commit;
dec $n;
}
--enable_query_log

--source ../../innodb/include/wait_all_purged.inc

# Clean up.
drop table t;