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
commit10a566861d344b155515df292a1af69922fbc733 (patch)
tree695c5281bfa4bfd124f93bb91176c94e73bcc89c /mysql-test/t/join.test
parent2f499fa3841ebac44dd418f0c8da70fe3177e5d7 (diff)
downloadmariadb-git-10a566861d344b155515df292a1af69922fbc733.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
#