diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2003-04-16 13:39:39 +0300 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2003-04-16 13:39:39 +0300 |
commit | a3274c2222bc09a055cdcac8d5606d11da37ed8e (patch) | |
tree | 26e419ebd2f4756ce4924a20e3e530278d411fb5 /mysql-test/t/join_outer.test | |
parent | 24aba046bf287388622e2fdc34bb66a6cca40876 (diff) | |
download | mariadb-git-a3274c2222bc09a055cdcac8d5606d11da37ed8e.tar.gz |
fix for a bug with two natural joins.
Diffstat (limited to 'mysql-test/t/join_outer.test')
-rw-r--r-- | mysql-test/t/join_outer.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/join_outer.test b/mysql-test/t/join_outer.test index 71c3643b2f4..80fa6501758 100644 --- a/mysql-test/t/join_outer.test +++ b/mysql-test/t/join_outer.test @@ -416,3 +416,12 @@ explain select * from t2 left join t1 on t1.fooID = t2.fooID and t1.fooID = 30; select * from t2 left join t1 on t1.fooID = t2.fooID and t1.fooID = 30; select * from t2 left join t1 ignore index(primary) on t1.fooID = t2.fooID and t1.fooID = 30; drop table t1,t2; +drop table if exists t3; +create table t1 (i int); +create table t2 (i int); +create table t3 (i int); +insert into t1 values(1),(2); +insert into t2 values(2),(3); +insert into t3 values(2),(4); +select * from t1 natural left join t2 natural left join t3; +drop table t1,t2,t3; |