mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
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:
parent
ba5482ffc2
commit
e51d55a63f
2 changed files with 5 additions and 1 deletions
4
mysql-test/include/not_valgrind_build.inc
Normal file
4
mysql-test/include/not_valgrind_build.inc
Normal file
|
@ -0,0 +1,4 @@
|
|||
if (`select version() like '%valgrind%' || version() like '%asan%'`)
|
||||
{
|
||||
skip Does not run with binaries built with valgrind or asan;
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue