From 32fed1e8774fa16e15f13e61f6594cdd69a2faa1 Mon Sep 17 00:00:00 2001 From: "serg@serg.mylan" <> Date: Sun, 12 Oct 2003 15:16:45 +0200 Subject: wrong ER_TOO_BIG_FOR_UNCOMPRESS error in UNCOMPRESS() fixed. typo in error message text corrected. new tests added --- mysql-test/t/func_compress.test | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'mysql-test/t/func_compress.test') 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; + -- cgit v1.2.1