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

A fix (bug #5497: COMPRESS() returns NULL for large strings).

This commit is contained in:
ram@gw.mysql.r18.ru
2004-09-13 18:43:59 +05:00
parent ca0fc0b4f4
commit a3a6b7fa25
3 changed files with 20 additions and 3 deletions

View File

@ -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