diff options
author | unknown <bar@eagle.intranet.mysql.r18.ru> | 2005-03-25 10:43:35 +0400 |
---|---|---|
committer | unknown <bar@eagle.intranet.mysql.r18.ru> | 2005-03-25 10:43:35 +0400 |
commit | 12664c053149c4af13b40a4a9663fc7816ae375a (patch) | |
tree | be8c2e805ee462b2b1ae5dc0f8e3e3b9ca664eb4 /mysql-test/t/func_str.test | |
parent | 4f1e4973945ff07deb7f50c45a10394be09b07c2 (diff) | |
parent | ed124ab6b7be6a7a56831407b175068c096232cb (diff) | |
download | mariadb-git-12664c053149c4af13b40a4a9663fc7816ae375a.tar.gz |
Merge
myisam/myisamchk.c:
Auto merged
mysql-test/t/func_str.test:
Auto merged
sql/item_func.h:
Auto merged
sql/item_strfunc.h:
Auto merged
mysql-test/r/func_str.result:
merging
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'mysql-test/t/func_str.test')
-rw-r--r-- | mysql-test/t/func_str.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/func_str.test b/mysql-test/t/func_str.test index 2041c776423..8bf36431587 100644 --- a/mysql-test/t/func_str.test +++ b/mysql-test/t/func_str.test @@ -377,6 +377,20 @@ insert into t1 values (null); select charset(a), collation(a), coercibility(a) from t1; drop table t1; select charset(null), collation(null), coercibility(null); +# +# Make sure OUTER JOIN is not replaced with a regular joun +# +CREATE TABLE t1 (a int, b int); +CREATE TABLE t2 (a int, b int); +INSERT INTO t1 VALUES (1,1),(2,2); +INSERT INTO t2 VALUES (2,2),(3,3); +select t1.*,t2.* from t1 left join t2 on (t1.b=t2.b) +where collation(t2.a) = _utf8'binary' order by t1.a,t2.a; +select t1.*,t2.* from t1 left join t2 on (t1.b=t2.b) +where charset(t2.a) = _utf8'binary' order by t1.a,t2.a; +select t1.*,t2.* from t1 left join t2 on (t1.b=t2.b) +where coercibility(t2.a) = 2 order by t1.a,t2.a; +DROP TABLE t1, t2; # # test for SUBSTR |