1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

apply UNIQUE constrain correctly for multi-byte charsets

only MyISAM is fixed
This commit is contained in:
serg@serg.mylan
2004-08-13 18:29:25 +02:00
parent eb1a82b25d
commit cd7276689e
7 changed files with 122 additions and 66 deletions

View File

@ -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;