summaryrefslogtreecommitdiff
path: root/mysql-test/t/join.test
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-08-02 11:12:11 +0200
committerunknown <serg@serg.mylan>2004-08-02 11:12:11 +0200
commitea8ac8ab9845e039e5770821c5dbfc4604390299 (patch)
tree695c5281bfa4bfd124f93bb91176c94e73bcc89c /mysql-test/t/join.test
parent3c1327021a837257b3b75a75ae2bc92acae6d719 (diff)
downloadmariadb-git-ea8ac8ab9845e039e5770821c5dbfc4604390299.tar.gz
hang in dummy natural join (no common columns) Bug #4807
Diffstat (limited to 'mysql-test/t/join.test')
-rw-r--r--mysql-test/t/join.test10
1 files changed, 10 insertions, 0 deletions
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
@@ -285,6 +285,16 @@ 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
#