summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_compress.test
diff options
context:
space:
mode:
authorunknown <vva@eagle.mysql.r18.ru>2003-04-22 18:41:47 -0400
committerunknown <vva@eagle.mysql.r18.ru>2003-04-22 18:41:47 -0400
commit5ab46afca6cf1e0ad7a298db54f3971234cb8f6c (patch)
tree82a6ee88ce718a01374afecdb2710ee9c420cd6e /mysql-test/t/func_compress.test
parent7c87a3f140ac801c0922b3a24e59381f627f105a (diff)
downloadmariadb-git-5ab46afca6cf1e0ad7a298db54f3971234cb8f6c.tar.gz
small compress/uncompress modification after monty's review
Diffstat (limited to 'mysql-test/t/func_compress.test')
-rw-r--r--mysql-test/t/func_compress.test9
1 files changed, 7 insertions, 2 deletions
diff --git a/mysql-test/t/func_compress.test b/mysql-test/t/func_compress.test
index 2f86a414792..826721a4053 100644
--- a/mysql-test/t/func_compress.test
+++ b/mysql-test/t/func_compress.test
@@ -7,7 +7,6 @@ select @test_compress_string:='string for test compress function aaaaaaaaaaaaaaa
select length(@test_compress_string);
select uncompress(compress(@test_compress_string));
-select uncompress(@test_compress_string);
select uncompressed_length(compress(@test_compress_string))=length(@test_compress_string);
select uncompressed_length(compress(@test_compress_string));
select length(compress(@test_compress_string))<length(@test_compress_string);
@@ -17,4 +16,10 @@ insert into t1 (a,b,c) values (compress(@test_compress_string),compress(@test_co
select uncompress(a) from t1;
select uncompress(b) from t1;
select concat('|',c,'|') from t1;
-drop table t1; \ No newline at end of file
+drop table t1;
+
+select compress("");
+select uncompress("");
+select uncompress(compress(""));
+select uncompressed_length("");
+