From b6f6d5b2fd920c5f8c8e611c9b58b43077b21f8d Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 13 Aug 2004 18:29:25 +0200 Subject: apply UNIQUE constrain correctly for multi-byte charsets only MyISAM is fixed include/m_ctype.h: my_charpos() macro myisam/mi_key.c: apply UNIQUE constrain correctly for multi-byte charsets mysql-test/r/binary.result: new test mysql-test/r/key.result: apply UNIQUE constrain correctly for multi-byte charsets mysql-test/t/binary.test: new test mysql-test/t/func_gconcat.test: make test to pass w/o InnoDB mysql-test/t/key.test: apply UNIQUE constrain correctly for multi-byte charsets --- mysql-test/t/binary.test | 1 + 1 file changed, 1 insertion(+) (limited to 'mysql-test/t/binary.test') diff --git a/mysql-test/t/binary.test b/mysql-test/t/binary.test index 20a047e0b26..9f63c2ed445 100644 --- a/mysql-test/t/binary.test +++ b/mysql-test/t/binary.test @@ -38,6 +38,7 @@ 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 concat("-",a,"-",b,"-") from t1; select concat("-",a,"-",b,"-") from t1 where b="hello "; select concat("-",a,"-",b,"-") from t1 ignore index (b) where b="hello "; drop table t1; -- cgit v1.2.1