summaryrefslogtreecommitdiff
path: root/mysql-test/t/join_outer.test
diff options
context:
space:
mode:
authorunknown <sergefp@mysql.com>2005-03-11 02:23:16 +0300
committerunknown <sergefp@mysql.com>2005-03-11 02:23:16 +0300
commitff2fcba35b636a282dc3d93d0c9f31515c09b659 (patch)
treedd3eb6417e225edf99a5f09bd935199a360ff0a7 /mysql-test/t/join_outer.test
parentdd843ee4b5276453a7c55062a80ef699b391ee35 (diff)
parent7c90fa7b2cb8131bfcf314c1e25538bd1062fa5d (diff)
downloadmariadb-git-ff2fcba35b636a282dc3d93d0c9f31515c09b659.tar.gz
Merge
sql/item_cmpfunc.h: Auto merged mysql-test/r/join_outer.result: SCCS merged mysql-test/t/join_outer.test: SCCS merged
Diffstat (limited to 'mysql-test/t/join_outer.test')
-rw-r--r--mysql-test/t/join_outer.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/join_outer.test b/mysql-test/t/join_outer.test
index d177a68e685..8096176a744 100644
--- a/mysql-test/t/join_outer.test
+++ b/mysql-test/t/join_outer.test
@@ -457,6 +457,19 @@ explain select * from t1 left join t2 on b1 = a1 left join t3 on c1 = a1 an
drop table t1, t2, t3;
+# Test for BUG#8711 '<=>' was considered to be a NULL-rejecting predicate.
+create table t1 (
+ a int(11),
+ b char(10),
+ key (a)
+);
+insert into t1 (a) values (1),(2),(3),(4);
+create table t2 (a int);
+
+select * from t1 left join t2 on t1.a=t2.a where not (t2.a <=> t1.a);
+select * from t1 left join t2 on t1.a=t2.a having not (t2.a <=> t1.a);
+drop table t1,t2;
+
# Test for BUG#5088
create table t1 (