From ea8ac8ab9845e039e5770821c5dbfc4604390299 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 2 Aug 2004 11:12:11 +0200 Subject: hang in dummy natural join (no common columns) Bug #4807 --- mysql-test/t/join.test | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'mysql-test/t/join.test') diff --git a/mysql-test/t/join.test b/mysql-test/t/join.test index bba5cdeee58..1d18e020543 100644 --- a/mysql-test/t/join.test +++ b/mysql-test/t/join.test @@ -284,6 +284,16 @@ SELECT * FROM t1 NATURAL JOIN t2 WHERE 1 AND Value1 = 'A' AND Value2 <> 'B'; SELECT * FROM t1 NATURAL JOIN t2 WHERE (Value1 = 'A' AND Value2 <> 'B') AND 1; drop table t1,t2; +# +# dummy natural join (no common columns) Bug #4807 +# + +CREATE TABLE t1 (a int); +CREATE TABLE t2 (b int); +CREATE TABLE t3 (c int); +SELECT * FROM t1 NATURAL JOIN t2 NATURAL JOIN t3; +DROP TABLE t1, t2, t3; + # # Test combination of join methods # -- cgit v1.2.1