diff options
author | monty@mashka.mysql.fi <> | 2002-09-18 02:04:56 +0300 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2002-09-18 02:04:56 +0300 |
commit | 70b1d53883fb8dc87cd52a41f91e3bb71268b211 (patch) | |
tree | 8a07e18388ef6432b1dfbdd5138e6ad09fd57e21 /mysql-test | |
parent | f42a28e2525734587f35611fe2b851b8ce5299c9 (diff) | |
parent | 74744466b17ae5785a4becad90e3a342cc724ea2 (diff) | |
download | mariadb-git-70b1d53883fb8dc87cd52a41f91e3bb71268b211.tar.gz |
merge with 3.23.53 (only code cleanup and new test case)
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/t/binary.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/binary.test b/mysql-test/t/binary.test index be9917dc888..fc2d91e20fe 100644 --- a/mysql-test/t/binary.test +++ b/mysql-test/t/binary.test @@ -32,3 +32,13 @@ select * from t1 where a="hello "; select * from t1 where b="hello "; select * from t1 where b="hello"; drop table t1; + +# +# Test of binary and NULL +# +create table t1 (b char(8)); +insert into t1 values(NULL); +select b from t1 where binary b like ''; +select b from t1 group by binary b like ''; +select b from t1 having binary b like ''; +drop table t1; |