Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 10.0
-
Fix Version/s: 10.1.7
-
Component/s: Optimizer
-
Labels:
Description
DROP TABLE IF EXISTS t1;
|
CREATE TABLE t1 (a VARCHAR(10) CHARACTER SET latin1);
|
INSERT INTO t1 VALUES ('a'),('A');
|
DROP VIEW IF EXISTS v1;
|
CREATE VIEW v1 AS SELECT * FROM t1 WHERE a='a';
|
SELECT * FROM v1 WHERE a=_latin1'a' COLLATE latin1_bin;
|
erroneously returns two rows:
+------+
|
| a |
|
+------+
|
| a |
|
| A |
|
+------+
|
The expected result is to return on row only, with 'a' in lower case.
Attachments
Issue Links
- blocks
-
MDEV-8728 Fix a number of problems in equal field and equal expression propagation
-
- Closed
-