summaryrefslogtreecommitdiff
path: root/mysql-test/suite/pbxt
diff options
context:
space:
mode:
authorunknown <sanja@askmonty.org>2011-09-05 08:28:08 +0300
committerunknown <sanja@askmonty.org>2011-09-05 08:28:08 +0300
commitfe7ed96ab20f16b7fe9592eb1feffcfcdb95e7dd (patch)
tree3dbc5afdca4e2a2eee01b36db1e0b2a99e045f8e /mysql-test/suite/pbxt
parent949984beed26b2536d2f24d3d63e8a06e4dfa089 (diff)
parent4338091967df9fcb4a2576e2f21302a75d4feb36 (diff)
downloadmariadb-git-fe7ed96ab20f16b7fe9592eb1feffcfcdb95e7dd.tar.gz
merge 5.2->5.3
Diffstat (limited to 'mysql-test/suite/pbxt')
-rw-r--r--mysql-test/suite/pbxt/r/subselect.result2
-rw-r--r--mysql-test/suite/pbxt/t/subselect.test2
2 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/suite/pbxt/r/subselect.result b/mysql-test/suite/pbxt/r/subselect.result
index 6623251baa0..cb1c98bd825 100644
--- a/mysql-test/suite/pbxt/r/subselect.result
+++ b/mysql-test/suite/pbxt/r/subselect.result
@@ -1491,7 +1491,7 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
Warnings:
Note 1003 select `test`.`t1`.`s1` AS `s1`,(not(<in_optimizer>(`test`.`t1`.`s1`,<exists>(<index_lookup>(<cache>(`test`.`t1`.`s1`) in t2 on s1 checking NULL where (`test`.`t2`.`s1` < 'a2') having trigcond(<is_not_null_test>(`test`.`t2`.`s1`))))))) AS `s1 NOT IN (SELECT s1 FROM t2 WHERE s1 < 'a2')` from `test`.`t1`
drop table t1,t2;
-create table t2 (a int, b int);
+create table t2 (a int, b int not null);
create table t3 (a int);
insert into t3 values (6),(7),(3);
select * from t3 where a >= all (select b from t2);
diff --git a/mysql-test/suite/pbxt/t/subselect.test b/mysql-test/suite/pbxt/t/subselect.test
index 3b7348ce844..5e9c6eee6a6 100644
--- a/mysql-test/suite/pbxt/t/subselect.test
+++ b/mysql-test/suite/pbxt/t/subselect.test
@@ -929,7 +929,7 @@ drop table t1,t2;
#
# correct ALL optimisation
#
-create table t2 (a int, b int);
+create table t2 (a int, b int not null);
create table t3 (a int);
insert into t3 values (6),(7),(3);
select * from t3 where a >= all (select b from t2);