diff options
author | serg@serg.mylan <> | 2003-10-12 15:16:45 +0200 |
---|---|---|
committer | serg@serg.mylan <> | 2003-10-12 15:16:45 +0200 |
commit | 32fed1e8774fa16e15f13e61f6594cdd69a2faa1 (patch) | |
tree | b2e6caac84f47ab3a2646ad476043f5d6e6fdde5 /mysql-test/t/func_compress.test | |
parent | 54533936b1f0c03ad73a3b47f8c4fa5fb48b4178 (diff) | |
download | mariadb-git-32fed1e8774fa16e15f13e61f6594cdd69a2faa1.tar.gz |
wrong ER_TOO_BIG_FOR_UNCOMPRESS error in UNCOMPRESS() fixed.
typo in error message text corrected.
new tests added
Diffstat (limited to 'mysql-test/t/func_compress.test')
-rw-r--r-- | mysql-test/t/func_compress.test | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mysql-test/t/func_compress.test b/mysql-test/t/func_compress.test index 7462c020357..069fbed8562 100644 --- a/mysql-test/t/func_compress.test +++ b/mysql-test/t/func_compress.test @@ -24,8 +24,12 @@ select uncompress(compress("")); select uncompressed_length(""); # -# NULL (Bug #1333) +# errors # -select compress(NULL); -select uncompress(NULL); +create table t1 (a text); +insert t1 values (compress(null)), ('A\0\0\0BBBBBBBB'), (compress(space(50000))), (space(50000)); +select length(a) from t1; +select length(uncompress(a)) from t1; +drop table t1; + |