1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-31 15:50:51 +03:00

Bug#9509 Optimizer: wrong result after AND with latin1_german2_ci

We cannot propagate constants with tricky collations.
This commit is contained in:
bar@noter.(none)
2005-05-05 21:13:57 +05:00
parent 6b053194db
commit 153b928c10
22 changed files with 115 additions and 17 deletions

View File

@@ -338,3 +338,9 @@ ss
ss
<EFBFBD>
DROP TABLE t1;
create table t1 (s1 char(5) character set latin1 collate latin1_german2_ci);
insert into t1 values (0xf6) /* this is o-umlaut */;
select * from t1 where length(s1)=1 and s1='oe';
s1
<EFBFBD>
drop table t1;