summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorgluh@gluh.mysql.r18.ru <>2004-08-23 19:16:21 +0400
committergluh@gluh.mysql.r18.ru <>2004-08-23 19:16:21 +0400
commit7ff0c3978ce54cbf6807a6bca8e595b123b40114 (patch)
treeba90c4cb82bee0338a88efd5ba892b3cbe584448 /mysql-test/r
parente05f79daa30f6b8eacdaf85ee7d2511569e11bbd (diff)
parent23535cce16a69b83b6527dc38828920d12324c0a (diff)
downloadmariadb-git-7ff0c3978ce54cbf6807a6bca8e595b123b40114.tar.gz
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.0
into gluh.mysql.r18.ru:/home/gluh/MySQL-BUGS/mysql-4.0
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/binary.result18
1 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/r/binary.result b/mysql-test/r/binary.result
index 2de8b01bc3a..054918e8df3 100644
--- a/mysql-test/r/binary.result
+++ b/mysql-test/r/binary.result
@@ -80,3 +80,21 @@ NULL
select b from t1 having binary b like '';
b
drop table t1;
+create table t1( firstname char(20), lastname char(20));
+insert into t1 values ("john","doe"),("John","Doe");
+select * from t1 where firstname='john' and firstname like binary 'john';
+firstname lastname
+john doe
+select * from t1 where firstname='john' and binary 'john' = firstname;
+firstname lastname
+john doe
+select * from t1 where firstname='john' and firstname = binary 'john';
+firstname lastname
+john doe
+select * from t1 where firstname='John' and firstname like binary 'john';
+firstname lastname
+john doe
+select * from t1 where firstname='john' and firstname like binary 'John';
+firstname lastname
+John Doe
+drop table t1;