mariadb/mysql-test/suite/innodb_gis/t/rtree_purge.test
Marko Mäkelä 4c16ec3e77 MDEV-32050 fixup: Stabilize tests
In any test that uses wait_all_purged.inc, ensure that InnoDB tables
will be created without persistent statistics.

This is a follow-up to commit cd04673a17
after a similar failure was observed in the innodb_zip.blob test.
2023-11-21 12:42:00 +02:00

28 lines
588 B
Text

# 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 stats_persistent=0;
--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;