diff options
author | unknown <serg@serg.mysql.com> | 2003-03-06 15:29:55 +0100 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2003-03-06 15:29:55 +0100 |
commit | a3883c67fca5059156e26fc033eecac1dbec4733 (patch) | |
tree | 1b61593686b1412e5f4bc8efc403a6ff8431e935 /mysql-test/t/binary.test | |
parent | a60c0569f3957bd713cc52f13d20a0fe407469bc (diff) | |
download | mariadb-git-a3883c67fca5059156e26fc033eecac1dbec4733.tar.gz |
make the test more obvious
Diffstat (limited to 'mysql-test/t/binary.test')
-rw-r--r-- | mysql-test/t/binary.test | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mysql-test/t/binary.test b/mysql-test/t/binary.test index 4f9ac7581d2..48912a390ed 100644 --- a/mysql-test/t/binary.test +++ b/mysql-test/t/binary.test @@ -30,16 +30,16 @@ drop table t1,t2; create table t1 (a char(10) not null, b char(10) binary not null,key (a), key(b)); insert into t1 values ("hello ","hello "),("hello2 ","hello2 "); -select * from t1 where a="hello"; -select * from t1 where a="hello "; -select * from t1 ignore index (a) where a="hello "; -select * from t1 where b="hello"; -select * from t1 where b="hello "; -select * from t1 ignore index (b) where b="hello "; +select concat("-",a,"-",b,"-") from t1 where a="hello"; +select concat("-",a,"-",b,"-") from t1 where a="hello "; +select concat("-",a,"-",b,"-") from t1 ignore index (a) where a="hello "; +select concat("-",a,"-",b,"-") from t1 where b="hello"; +select concat("-",a,"-",b,"-") from t1 where b="hello "; +select concat("-",a,"-",b,"-") from t1 ignore index (b) where b="hello "; # blob test alter table t1 modify b tinytext not null, drop key b, add key (b(100)); -select * from t1 where b="hello "; -select * from t1 ignore index (b) where b="hello "; +select concat("-",a,"-",b,"-") from t1 where b="hello "; +select concat("-",a,"-",b,"-") from t1 ignore index (b) where b="hello "; drop table t1; # |