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:
@ -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)));
|
||||
|
Reference in New Issue
Block a user