summaryrefslogtreecommitdiff
path: root/mysql-test/r/subselect_no_opts.result
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2017-07-28 20:47:12 +0300
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2017-07-29 20:01:20 +0300
commit2160a851840488d38358d5633237ec197fab969b (patch)
treeb70ac1fe1bab6dcdc856c5f4af13f2db062b3fe2 /mysql-test/r/subselect_no_opts.result
parentaf40426fcdacfa9e8e2868cf5d95ce671c1287a1 (diff)
downloadmariadb-git-2160a851840488d38358d5633237ec197fab969b.tar.gz
Update subselect test results to pass on 10.0
One query was removed due to inconsistent behaviour with subquery cache enabled vs disabled. MDEV-13399 has been created to track this change and fix.
Diffstat (limited to 'mysql-test/r/subselect_no_opts.result')
-rw-r--r--mysql-test/r/subselect_no_opts.result9
1 files changed, 8 insertions, 1 deletions
diff --git a/mysql-test/r/subselect_no_opts.result b/mysql-test/r/subselect_no_opts.result
index 62a304a0c74..4a26d641aa6 100644
--- a/mysql-test/r/subselect_no_opts.result
+++ b/mysql-test/r/subselect_no_opts.result
@@ -7165,9 +7165,16 @@ drop table t1,t2;
CREATE TABLE t1 (f1 INT, KEY(f1)) ENGINE=MyISAM;
INSERT t1 VALUES (4),(8);
CREATE TABLE t2 (f2 INT, KEY(f2)) ENGINE=MyISAM;
-INSERT t2 VALUES (6),(9);
+INSERT t2 VALUES (6);
SELECT (SELECT MAX(sq.f2) FROM t1) FROM (SELECT * FROM t2) AS sq WHERE f2 = 2;
(SELECT MAX(sq.f2) FROM t1)
NULL
+#
+# Disable this query till MDEV-13399 is resolved
+#
+# INSERT t2 VALUES (9);
+# --error ER_SUBQUERY_NO_1_ROW
+# SELECT (SELECT MAX(sq.f2) FROM t1) FROM (SELECT * FROM t2) AS sq WHERE f2 = 2;
+#
drop table t1, t2;
set @optimizer_switch_for_subselect_test=null;