diff options
author | serg@serg.mysql.com <> | 2003-03-06 15:29:55 +0100 |
---|---|---|
committer | serg@serg.mysql.com <> | 2003-03-06 15:29:55 +0100 |
commit | f4b165ae057ef98f1e834ec59da9aea5537e9f02 (patch) | |
tree | 1b61593686b1412e5f4bc8efc403a6ff8431e935 /mysql-test/r | |
parent | cd3f3867ab5fc09f00a8b227b33cdc42b116b514 (diff) | |
download | mariadb-git-f4b165ae057ef98f1e834ec59da9aea5537e9f02.tar.gz |
make the test more obvious
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/binary.result | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/mysql-test/r/binary.result b/mysql-test/r/binary.result index 3534776c503..5da627a30b9 100644 --- a/mysql-test/r/binary.result +++ b/mysql-test/r/binary.result @@ -45,30 +45,30 @@ name 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"; -a b -hello hello -select * from t1 where a="hello "; -a b -hello hello -select * from t1 ignore index (a) where a="hello "; -a b -hello hello -select * from t1 where b="hello"; -a b -hello hello -select * from t1 where b="hello "; -a b -hello hello -select * from t1 ignore index (b) where b="hello "; -a b -hello hello +select concat("-",a,"-",b,"-") from t1 where a="hello"; +concat("-",a,"-",b,"-") +-hello-hello- +select concat("-",a,"-",b,"-") from t1 where a="hello "; +concat("-",a,"-",b,"-") +-hello-hello- +select concat("-",a,"-",b,"-") from t1 ignore index (a) where a="hello "; +concat("-",a,"-",b,"-") +-hello-hello- +select concat("-",a,"-",b,"-") from t1 where b="hello"; +concat("-",a,"-",b,"-") +-hello-hello- +select concat("-",a,"-",b,"-") from t1 where b="hello "; +concat("-",a,"-",b,"-") +-hello-hello- +select concat("-",a,"-",b,"-") from t1 ignore index (b) where b="hello "; +concat("-",a,"-",b,"-") +-hello-hello- alter table t1 modify b tinytext not null, drop key b, add key (b(100)); -select * from t1 where b="hello "; -a b -select * from t1 ignore index (b) where b="hello "; -a b -hello hello +select concat("-",a,"-",b,"-") from t1 where b="hello "; +concat("-",a,"-",b,"-") +select concat("-",a,"-",b,"-") from t1 ignore index (b) where b="hello "; +concat("-",a,"-",b,"-") +-hello-hello- drop table t1; create table t1 (b char(8)); insert into t1 values(NULL); |