diff options
author | vva@eagle.mysql.r18.ru <> | 2003-04-22 18:41:47 -0400 |
---|---|---|
committer | vva@eagle.mysql.r18.ru <> | 2003-04-22 18:41:47 -0400 |
commit | 11666b528126986e7f4b590aa58626bef761e54a (patch) | |
tree | 82a6ee88ce718a01374afecdb2710ee9c420cd6e /mysql-test/t/func_compress.test | |
parent | a3d08eaaf97c013569516294ae97b8118b3db0b0 (diff) | |
download | mariadb-git-11666b528126986e7f4b590aa58626bef761e54a.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.test | 9 |
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(""); + |