summaryrefslogtreecommitdiff
path: root/mysql-test/r/select.result
diff options
context:
space:
mode:
authorunknown <evgen@moonbone.local>2006-01-13 12:13:50 +0300
committerunknown <evgen@moonbone.local>2006-01-13 12:13:50 +0300
commit630663a5319b260ac0dac21c2328aade742b296f (patch)
treea6574ee59fca9abfbe8e3879ca60ea6046ed93be /mysql-test/r/select.result
parent757ad510c6c8ad3142840b95d7edefde4862a131 (diff)
parentf107c7069cbf2150f6b39149df6d122ec24a9db9 (diff)
downloadmariadb-git-630663a5319b260ac0dac21c2328aade742b296f.tar.gz
Merge
sql/item_cmpfunc.cc: Auto merged sql/item_cmpfunc.h: Auto merged mysql-test/r/select.result: SCCS merged mysql-test/t/select.test: SCCS merged
Diffstat (limited to 'mysql-test/r/select.result')
-rw-r--r--mysql-test/r/select.result13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/r/select.result b/mysql-test/r/select.result
index e2c4609d902..b764ffd3c80 100644
--- a/mysql-test/r/select.result
+++ b/mysql-test/r/select.result
@@ -3337,6 +3337,19 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 const PRIMARY PRIMARY 4 const 1 Using index
1 SIMPLE t3 const PRIMARY PRIMARY 8 const,const 1
DROP TABLE t1,t2,t3;
+create table t1 (f1 int unique);
+create table t2 (f2 int unique);
+create table t3 (f3 int unique);
+insert into t1 values(1),(2);
+insert into t2 values(1),(2);
+insert into t3 values(1),(NULL);
+select * from t3 where f3 is null;
+f3
+NULL
+select t2.f2 from t1 left join t2 on f1=f2 join t3 on f1=f3 where f1=1;
+f2
+1
+drop table t1,t2,t3;
create table t1(f1 char, f2 char not null);
insert into t1 values(null,'a');
create table t2 (f2 char not null);