mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Automerge.
This commit is contained in:
@@ -87,21 +87,19 @@ 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);
|
||||
|
||||
# Disable warnings to avoid dependency on max_allowed_packet value
|
||||
--disable_warnings
|
||||
SELECT UNCOMPRESS(c1), UNCOMPRESSED_LENGTH(c1) FROM t1;
|
||||
--enable_warnings
|
||||
|
||||
# We do not need the results, just make sure there are no valgrind errors
|
||||
--disable_result_log
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user