Revert "mtr: remove not_valgrind_build"

The original code is correct.

valgrind and asan binaries should be built with a specialiced version of
mem_root that makes it easier to find memory overwrites.
This is what the BUILD scripts is doing.

The specialiced mem_root code allocates a new block for every allocation
which is visiable for any test that depenmds on the default original malloc
size and usage.
This commit is contained in:
Monty 2024-08-19 10:59:57 +03:00
parent ba5482ffc2
commit e51d55a63f
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,4 @@
if (`select version() like '%valgrind%' || version() like '%asan%'`)
{
skip Does not run with binaries built with valgrind or asan;
}

View file

@ -1,5 +1,5 @@
--source include/not_msan.inc
--source include/not_valgrind.inc
--source include/not_valgrind_build.inc
--echo # MDEV-20699 do not cache SP in SHOW CREATE
--echo # Warmup round, this might allocate some memory for session variable