summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_compress.test
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-11-28 16:31:14 +0100
committerunknown <serg@serg.mylan>2004-11-28 16:31:14 +0100
commit1a7783e0f6fd2bbb0cfe9705184d58dab389e606 (patch)
tree7e3346cbddac1d10a64ad50561b06d145968a169 /mysql-test/t/func_compress.test
parent9fc190e60385aecba1482e8ca715c5b1c97b4887 (diff)
downloadmariadb-git-1a7783e0f6fd2bbb0cfe9705184d58dab389e606.tar.gz
skip last compress test if we're short of RAM
Diffstat (limited to 'mysql-test/t/func_compress.test')
-rw-r--r--mysql-test/t/func_compress.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/mysql-test/t/func_compress.test b/mysql-test/t/func_compress.test
index 7b70289d2c0..f46589e9e0e 100644
--- a/mysql-test/t/func_compress.test
+++ b/mysql-test/t/func_compress.test
@@ -38,7 +38,10 @@ drop table t1;
#
# Bug #5497: a problem with large strings
+# note that when LOW_MEMORY is set the "test" below is meaningless
#
set @@max_allowed_packet=1048576*100;
-select compress(repeat('aaaaaaaaaa', 10000000)) is null;
+--replace_result "''" XXX "'1'" XXX
+eval select compress(repeat('aaaaaaaaaa', IF('$LOW_MEMORY', 10, 10000000))) is null;
+