mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Clean-up. The length of compress() may depend on zlib version, etc.
mysql-test/r/func_compress.result: clean-up. The length of compress() may depend on zlib version, etc. mysql-test/t/func_compress.test: clean-up. The length of compress() may depend on zlib version, etc.
This commit is contained in:
@ -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)
|
Error 1256 Uncompressed data size too large; the maximum size is 1048576 (probably, length of uncompressed data was corrupted)
|
||||||
drop table t1;
|
drop table t1;
|
||||||
set @@max_allowed_packet=1048576*100;
|
set @@max_allowed_packet=1048576*100;
|
||||||
select length(compress(repeat('aaaaaaaaaa', 10000000)));
|
select compress(repeat('aaaaaaaaaa', 10000000)) is null;
|
||||||
length(compress(repeat('aaaaaaaaaa', 10000000)))
|
compress(repeat('aaaaaaaaaa', 10000000)) is null
|
||||||
97214
|
0
|
||||||
|
@ -41,4 +41,4 @@ drop table t1;
|
|||||||
#
|
#
|
||||||
|
|
||||||
set @@max_allowed_packet=1048576*100;
|
set @@max_allowed_packet=1048576*100;
|
||||||
select length(compress(repeat('aaaaaaaaaa', 10000000)));
|
select compress(repeat('aaaaaaaaaa', 10000000)) is null;
|
||||||
|
Reference in New Issue
Block a user