diff options
author | unknown <ram@gw.mysql.r18.ru> | 2004-09-13 18:43:59 +0500 |
---|---|---|
committer | unknown <ram@gw.mysql.r18.ru> | 2004-09-13 18:43:59 +0500 |
commit | 61e6211646b14a362468b5d26852964208a9d596 (patch) | |
tree | 97f19b42f2ec23bb89b1aefe61430cb1b1998163 /mysql-test/t/func_compress.test | |
parent | 736963b5e06ecd2ea98688309d19d30f8252784a (diff) | |
download | mariadb-git-61e6211646b14a362468b5d26852964208a9d596.tar.gz |
A fix (bug #5497: COMPRESS() returns NULL for large strings).
Diffstat (limited to 'mysql-test/t/func_compress.test')
-rw-r--r-- | mysql-test/t/func_compress.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/func_compress.test b/mysql-test/t/func_compress.test index 79de99276a6..1384ef27cd2 100644 --- a/mysql-test/t/func_compress.test +++ b/mysql-test/t/func_compress.test @@ -35,3 +35,10 @@ select length(a) from t1; select length(uncompress(a)) from t1; drop table t1; + +# +# Bug #5497: a problem with large strings +# + +set @@max_allowed_packet=1048576*100; +select length(compress(repeat('aaaaaaaaaa', 10000000))); |