summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_compress.result
diff options
context:
space:
mode:
authorunknown <ramil/ram@mysql.com/myoffice.izhnet.ru>2006-10-13 19:09:22 +0500
committerunknown <ramil/ram@mysql.com/myoffice.izhnet.ru>2006-10-13 19:09:22 +0500
commit0ace2b44ba0410e901d18c5315837647c8436c1d (patch)
treedfd90ca34ee2693bbfa69db04a88e72bebbfb5ca /mysql-test/r/func_compress.result
parenta4f01a94b4d6fdf3d1c79446c7f1a36f50903d1d (diff)
parent60a21d16975de436d57c9e29f237234b71fd5601 (diff)
downloadmariadb-git-0ace2b44ba0410e901d18c5315837647c8436c1d.tar.gz
Merge mysql.com:/usr/home/ram/work/bug23254/my41-bug23254
into mysql.com:/usr/home/ram/work/bug23254/my50-bug23254 sql/item_strfunc.cc: Auto merged mysql-test/r/func_compress.result: SCCS merged mysql-test/t/func_compress.test: SCCS merged
Diffstat (limited to 'mysql-test/r/func_compress.result')
-rw-r--r--mysql-test/r/func_compress.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/func_compress.result b/mysql-test/r/func_compress.result
index 00d5ebfc351..4a3454cf658 100644
--- a/mysql-test/r/func_compress.result
+++ b/mysql-test/r/func_compress.result
@@ -79,6 +79,16 @@ uncompress(a) uncompressed_length(a)
NULL NULL
a 1
drop table t1;
+create table t1(a blob);
+insert into t1 values ('0'), (NULL), ('0');
+select compress(a), compress(a) from t1;
+select compress(a) is null from t1;
+compress(a) is null
+0
+1
+0
+drop table t1;
+End of 4.1 tests
create table t1 (a varchar(32) not null);
insert into t1 values ('foo');
explain select * from t1 where uncompress(a) is null;