1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Disable variables-big with debug binaries.

When compiled with SAFEMALLOC or with Windows
Debug CRT, it allocates and initializes 5GB of memory.
The effect is 20 minutes of paging and swapping on
a 4GB VM.

Still allow the test to run with optimized binaries.
Memory is not initialized in this case,  malloc() 
of 5GB  size will not bring the whole buffer into 
physical memory.
This commit is contained in:
Vladislav Vaintroub
2011-02-27 01:25:56 +01:00
parent 8b6eb98f78
commit f83e594218
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,6 @@
let $is_debug = `select version() like '%debug%'`;
if ($is_debug)
{
skip Does not run in with debug binaries;
}