summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_compress.test
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@sun.com>2009-05-21 16:16:17 +0400
committerAlexey Kopytov <Alexey.Kopytov@sun.com>2009-05-21 16:16:17 +0400
commit1bf8e86ab44994da6f0a99dcebcffb473c83a598 (patch)
tree9d2aa5f451417e549f3a316568bd0f7dfd7deb23 /mysql-test/t/func_compress.test
parent295afc7af4b199c628a16f0ec282d7ce9c2c2246 (diff)
parent958e896d8f4049b7e38b4946bc9a1c928e5981a1 (diff)
downloadmariadb-git-1bf8e86ab44994da6f0a99dcebcffb473c83a598.tar.gz
Automerge.
Diffstat (limited to 'mysql-test/t/func_compress.test')
-rw-r--r--mysql-test/t/func_compress.test17
1 files changed, 17 insertions, 0 deletions
diff --git a/mysql-test/t/func_compress.test b/mysql-test/t/func_compress.test
index 4c5121da345..4dda069d8c2 100644
--- a/mysql-test/t/func_compress.test
+++ b/mysql-test/t/func_compress.test
@@ -89,4 +89,21 @@ select *, uncompress(a) from t1;
select *, uncompress(a), uncompress(a) is null from t1;
drop table t1;
+#
+# Bug #44796: valgrind: too many my_longlong10_to_str_8bit warnings after
+# uncompressed_length
+#
+
+CREATE TABLE t1 (c1 INT);
+INSERT INTO t1 VALUES (1), (1111), (11111);
+
+SELECT UNCOMPRESS(c1), UNCOMPRESSED_LENGTH(c1) FROM t1;
+
+# 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
+
+DROP TABLE t1;
+
--echo End of 5.0 tests