diff options
author | unknown <aelkin@mysql.com> | 2006-04-23 12:32:39 +0300 |
---|---|---|
committer | unknown <aelkin@mysql.com> | 2006-04-23 12:32:39 +0300 |
commit | e0ebbf67a308ca58c99b519861a8d884736cd751 (patch) | |
tree | d9ace40adfab722a50d0f1aeaf05485ca3f80c0b /mysql-test/t/func_compress.test | |
parent | 8e28ab1f40e60cbd9837468fc0d357335209f877 (diff) | |
parent | 8ed06b840e2aaac5d01ca2731f9abd53c339d968 (diff) | |
download | mariadb-git-e0ebbf67a308ca58c99b519861a8d884736cd751.tar.gz |
Merge mysql.com:/usr_rh9/home/elkin.rh9/MySQL/BARE/4.1
into mysql.com:/usr_rh9/home/elkin.rh9/MySQL/Merge/5.0
mysql-test/t/func_compress.test:
Auto merged
sql/item_strfunc.cc:
Auto merged
Diffstat (limited to 'mysql-test/t/func_compress.test')
-rw-r--r-- | mysql-test/t/func_compress.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/func_compress.test b/mysql-test/t/func_compress.test index a78017ddb2f..4ae749f2343 100644 --- a/mysql-test/t/func_compress.test +++ b/mysql-test/t/func_compress.test @@ -47,4 +47,13 @@ set @@max_allowed_packet=1048576*100; --replace_result "''" XXX "'1'" XXX eval select compress(repeat('aaaaaaaaaa', IF('$LOW_MEMORY', 10, 10000000))) is null; +# +# Bug #18643: problem with null values +# + +create table t1(a blob); +insert into t1 values(NULL), (compress('a')); +select uncompress(a), uncompressed_length(a) from t1; +drop table t1; + # End of 4.1 tests |