summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_compress.result
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@sun.com>2009-05-21 19:19:13 +0400
committerAlexey Kopytov <Alexey.Kopytov@sun.com>2009-05-21 19:19:13 +0400
commit2e644e2b5dc1f9ceb2139f32f31baadebfeb421e (patch)
tree8281e5064bc5d0c1f2a78166c1bdbf1fe3906c13 /mysql-test/r/func_compress.result
parentd638377ff15f40af15de06d93a88587d32680e2b (diff)
parent9cf94dadeb9f79aafaf9b8fcf979398f53b1db9a (diff)
downloadmariadb-git-2e644e2b5dc1f9ceb2139f32f31baadebfeb421e.tar.gz
Automerge.
Diffstat (limited to 'mysql-test/r/func_compress.result')
-rw-r--r--mysql-test/r/func_compress.result5
1 files changed, 4 insertions, 1 deletions
diff --git a/mysql-test/r/func_compress.result b/mysql-test/r/func_compress.result
index cc040fe8bc4..a4aa951493f 100644
--- a/mysql-test/r/func_compress.result
+++ b/mysql-test/r/func_compress.result
@@ -117,6 +117,8 @@ Warnings:
Error 1259 ZLIB: Input data corrupted
Error 1259 ZLIB: Input data corrupted
drop table t1;
+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);
SELECT UNCOMPRESS(c1), UNCOMPRESSED_LENGTH(c1) FROM t1;
@@ -129,7 +131,8 @@ Error 1259 ZLIB: Input data corrupted
Error 1259 ZLIB: Input data corrupted
Error 1259 ZLIB: Input data corrupted
Error 1259 ZLIB: Input data corrupted
-Error 1256 Uncompressed data size too large; the maximum size is 104857600 (probably, length of uncompressed data was corrupted)
+Error 1256 Uncompressed data size too large; the maximum size is 1048576 (probably, length of uncompressed data was corrupted)
EXPLAIN EXTENDED SELECT * FROM (SELECT UNCOMPRESSED_LENGTH(c1) FROM t1) AS s;
+SET @@max_allowed_packet = @old_max_allowed_packet;
DROP TABLE t1;
End of 5.0 tests