mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03: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:
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
|
||||
|
Reference in New Issue
Block a user