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/r/func_compress.result | |
parent | 736963b5e06ecd2ea98688309d19d30f8252784a (diff) | |
download | mariadb-git-61e6211646b14a362468b5d26852964208a9d596.tar.gz |
A fix (bug #5497: COMPRESS() returns NULL for large strings).
Diffstat (limited to 'mysql-test/r/func_compress.result')
-rw-r--r-- | mysql-test/r/func_compress.result | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/func_compress.result b/mysql-test/r/func_compress.result index a3d28471993..4ff72d63144 100644 --- a/mysql-test/r/func_compress.result +++ b/mysql-test/r/func_compress.result @@ -68,3 +68,7 @@ Warnings: Error 1259 ZLIB: Input data corrupted Error 1256 Uncompressed data size too large; the maximum size is 1048576 (probably, length of uncompressed data was corrupted) drop table t1; +set @@max_allowed_packet=1048576*100; +select length(compress(repeat('aaaaaaaaaa', 10000000))); +length(compress(repeat('aaaaaaaaaa', 10000000))) +97214 |