diff options
author | bell@laptop.sanja.is.com.ua <> | 2003-08-20 23:39:17 +0300 |
---|---|---|
committer | bell@laptop.sanja.is.com.ua <> | 2003-08-20 23:39:17 +0300 |
commit | 87bb62007b04c250b92bf027cd7768956602cf74 (patch) | |
tree | 11c0874768410635d031c0e239d5c0efd71da5ca /mysql-test/t/subselect.test | |
parent | 1ab66ddad881fc77d67cbc003daa66aa95be385b (diff) | |
parent | 341d5aa0369a3731dd5bbff950182c05866ccd74 (diff) | |
download | mariadb-git-87bb62007b04c250b92bf027cd7768956602cf74.tar.gz |
merge
Diffstat (limited to 'mysql-test/t/subselect.test')
-rw-r--r-- | mysql-test/t/subselect.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/subselect.test b/mysql-test/t/subselect.test index e1c9e09ae6d..89f9c528237 100644 --- a/mysql-test/t/subselect.test +++ b/mysql-test/t/subselect.test @@ -901,3 +901,14 @@ insert into t3 values (1),(2),(10),(50); select a from t3 where t3.a in (select a from t1 where a <= 3 union select * from t2 where a <= 30); drop table t1,t2; +# +# collation test +# +CREATE TABLE t1 (s1 CHAR(5) COLLATE latin1_german1_ci, + s2 CHAR(5) COLLATE latin1_swedish_ci); +INSERT INTO t1 VALUES ('z','?'); +-- error 1265 +select * from t1 where s1 > (select max(s2) from t1); +-- error 1265 +select * from t1 where s1 > any (select max(s2) from t1); +drop table t1; |