summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2011-02-27 01:25:56 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2011-02-27 01:25:56 +0100
commit670f2f62c48741ea72440a1574dc99bae9390131 (patch)
tree168f32dbb8049d41f385568571b4dc503502c082 /mysql-test/include
parente81a90890e877325f4d962137b9143ac008794e5 (diff)
downloadmariadb-git-mariadb-5.1.55.tar.gz
Disable variables-big with debug binaries.mariadb-5.1.55
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.
Diffstat (limited to 'mysql-test/include')
-rw-r--r--mysql-test/include/not_debug.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/include/not_debug.inc b/mysql-test/include/not_debug.inc
new file mode 100644
index 00000000000..5ea01fe2935
--- /dev/null
+++ b/mysql-test/include/not_debug.inc
@@ -0,0 +1,6 @@
+let $is_debug = `select version() like '%debug%'`;
+if ($is_debug)
+{
+ skip Does not run in with debug binaries;
+}
+