Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0(EOL)
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