1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Clean-up. The length of compress() may depend on zlib version, etc.

This commit is contained in:
ram@gw.mysql.r18.ru
2004-09-16 15:01:12 +05:00
parent 1dd895d4e1
commit 80f6c7e9a9
2 changed files with 4 additions and 4 deletions

View File

@@ -69,6 +69,6 @@ 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
select compress(repeat('aaaaaaaaaa', 10000000)) is null;
compress(repeat('aaaaaaaaaa', 10000000)) is null
0

View File

@@ -41,4 +41,4 @@ drop table t1;
#
set @@max_allowed_packet=1048576*100;
select length(compress(repeat('aaaaaaaaaa', 10000000)));
select compress(repeat('aaaaaaaaaa', 10000000)) is null;