mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix test cases to preserve the state that existed before the
test case was executed. mysql-test/r/func_compress.result: Update test case result. mysql-test/r/innodb_bug34300.result: Update test case result. mysql-test/t/func_compress.test: Disconnect connection and reset max_allowed_packet to it's default value. mysql-test/t/innodb_bug34300.test: Disconnect connection and reset max_allowed_packet to it's default value and enable query log.
This commit is contained in:
@ -72,6 +72,7 @@ set @@global.max_allowed_packet=1048576*100;
|
||||
select compress(repeat('aaaaaaaaaa', IF(XXX, 10, 10000000))) is null;
|
||||
compress(repeat('aaaaaaaaaa', IF(XXX, 10, 10000000))) is null
|
||||
0
|
||||
set @@global.max_allowed_packet=default;
|
||||
create table t1(a blob);
|
||||
insert into t1 values(NULL), (compress('a'));
|
||||
select uncompress(a), uncompressed_length(a) from t1;
|
||||
|
Reference in New Issue
Block a user