summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_compress.test
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2009-01-31 14:10:43 -0200
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2009-01-31 14:10:43 -0200
commit050cf69f11a1fdc844524a371119bfc473f580b7 (patch)
tree0df76d3677efe9b8d3a524b03ad095496ee20162 /mysql-test/t/func_compress.test
parent6024134105df7b3e74b773e684b5bb7ab39ec9fa (diff)
downloadmariadb-git-050cf69f11a1fdc844524a371119bfc473f580b7.tar.gz
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.
Diffstat (limited to 'mysql-test/t/func_compress.test')
-rw-r--r--mysql-test/t/func_compress.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/t/func_compress.test b/mysql-test/t/func_compress.test
index 7f17fd2180f..0a3a3823fee 100644
--- a/mysql-test/t/func_compress.test
+++ b/mysql-test/t/func_compress.test
@@ -49,6 +49,9 @@ set @@global.max_allowed_packet=1048576*100;
# reconnect to make the new max packet size take effect
--connect (newconn, localhost, root,,)
eval select compress(repeat('aaaaaaaaaa', IF('$LOW_MEMORY', 10, 10000000))) is null;
+disconnect newconn;
+connection default;
+set @@global.max_allowed_packet=default;
#
# Bug #18643: problem with null values