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:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 bar@noter.(none)
					bar@noter.(none)