1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Fix test cases to preserve the state that existed before the

test case was executed.
This commit is contained in:
Davi Arnaut
2009-01-31 14:10:43 -02:00
parent ece2f23aea
commit 68da0130a9
4 changed files with 14 additions and 0 deletions

View File

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