mirror of
https://github.com/MariaDB/server.git
synced 2025-07-05 10:58:16 +02:00

With MSAN the following test behavious where observed: * funcs_1.myisam_views-big - normal big test for non-debug * innodb_gis.rtree_purge - normal big test with MSAN * main.alter_table_lock - very quick - unclear why disabled * main.cte_recursive - slow on Debug only * main.join_cache_notasan - special MSAN handing for returning OOM added * main.sum_distinct-big - 90 seconds on non-debug - still big however * maria.max_length - normal big test with MSAN * perfschema.statement_digest_long_query - overflows stack on debug Timingsi (on old memory constrained hardware): non-debug: funcs_1.myisam_views-big w2 [ pass ] 78564 innodb_gis.rtree_purge '16k' w2 [ pass ] 5784 innodb_gis.rtree_purge '32k' w2 [ pass ] 5242 innodb_gis.rtree_purge '4k' w1 [ pass ] 8303 innodb_gis.rtree_purge '64k' w1 [ pass ] 6348 innodb_gis.rtree_purge '8k' w2 [ pass ] 5870 main.alter_table_lock w1 [ pass ] 41 main.cte_recursive w1 [ pass ] 15485 main.join_cache_notasan w1 [ pass ] 39 main.sum_distinct-big w2 [ pass ] 96256 maria.max_length w1 [ pass ] 92990 perfschema.statement_digest_long_query w2 [ pass ] 8 debug: funcs_1.myisam_views-big w1 [ skipped ] Can't be run WITH_MSAN and CMAKE_BUILD_TYPE=Debug innodb_gis.rtree_purge '16k' w2 [ pass ] 109788 innodb_gis.rtree_purge '32k' w2 [ pass ] 62361 innodb_gis.rtree_purge '4k' w1 [ pass ] 89423 innodb_gis.rtree_purge '64k' w1 [ pass ] 72082 innodb_gis.rtree_purge '8k' w1 [ pass ] 98452 main.alter_table_lock w2 [ pass ] 38 main.cte_recursive w2 [ pass ] 180047 main.join_cache_notasan w1 [ pass ] 166 main.sum_distinct-big w1 [ skipped ] Can't be run WITH_MSAN and CMAKE_BUILD_TYPE=Debug maria.max_length w1 [ skipped ] Can't be run WITH_MSAN and CMAKE_BUILD_TYPE=Debug perfschema.statement_digest_long_query w1 [ skipped ] Can't be run WITH_MSAN and CMAKE_BUILD_TYPE=Debug
28 lines
592 B
Text
28 lines
592 B
Text
# This test case will test R-tree purge.
|
|
|
|
--source include/long_test.inc
|
|
--source include/innodb_page_size.inc
|
|
--source include/have_sequence.inc
|
|
--source include/not_valgrind.inc
|
|
--source include/no_msan_without_big.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;
|