diff options
author | Alexey Kopytov <Alexey.Kopytov@sun.com> | 2009-05-21 19:14:56 +0400 |
---|---|---|
committer | Alexey Kopytov <Alexey.Kopytov@sun.com> | 2009-05-21 19:14:56 +0400 |
commit | 2cd3eaf27d461d4563d7f1719a022b8d55d67849 (patch) | |
tree | 3c3b2c9a2638729940f90d40eb227b11c39f412c /mysql-test/t/func_compress.test | |
parent | 0b62b7f26d2bef58983f7c7e8b288dd9bce0cdcc (diff) | |
download | mariadb-git-2cd3eaf27d461d4563d7f1719a022b8d55d67849.tar.gz |
Fixed a PB failure introduced by the patch for bug #44796.
Set max_allowed_packet to get a consistent error message.
Diffstat (limited to 'mysql-test/t/func_compress.test')
-rw-r--r-- | mysql-test/t/func_compress.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/func_compress.test b/mysql-test/t/func_compress.test index b1a37c16c6d..8df26dce2ee 100644 --- a/mysql-test/t/func_compress.test +++ b/mysql-test/t/func_compress.test @@ -87,6 +87,9 @@ drop table t1; # uncompressed_length # +SET @old_max_allowed_packet = @@max_allowed_packet; +SET @@max_allowed_packet = 1024 * 1024; + CREATE TABLE t1 (c1 INT); INSERT INTO t1 VALUES (1), (1111), (11111); @@ -97,6 +100,8 @@ SELECT UNCOMPRESS(c1), UNCOMPRESSED_LENGTH(c1) FROM t1; EXPLAIN EXTENDED SELECT * FROM (SELECT UNCOMPRESSED_LENGTH(c1) FROM t1) AS s; --enable_result_log +SET @@max_allowed_packet = @old_max_allowed_packet; + DROP TABLE t1; --echo End of 5.0 tests |