Commit 0bd2c7e2 authored by unknown's avatar unknown

merge


mysql-test/r/subselect.result:
  correct result after merging with fixed Item_in_optimiser::fix_left()
mysql-test/t/subselect.test:
  error code changed
parent 472e7c15
......@@ -1350,4 +1350,5 @@ INSERT INTO t1 VALUES ('z','?');
select * from t1 where s1 > (select max(s2) from t1);
ERROR HY000: Illegal mix of collations (latin1_german1_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '>'
select * from t1 where s1 > any (select max(s2) from t1);
ERROR HY000: Illegal mix of collations (latin1_german1_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '>'
drop table t1;
......@@ -907,8 +907,8 @@ drop table t1,t2;
CREATE TABLE t1 (s1 CHAR(5) COLLATE latin1_german1_ci,
s2 CHAR(5) COLLATE latin1_swedish_ci);
INSERT INTO t1 VALUES ('z','?');
-- error 1265
-- error 1266
select * from t1 where s1 > (select max(s2) from t1);
-- error 1265
-- error 1266
select * from t1 where s1 > any (select max(s2) from t1);
drop table t1;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment