Commit f6cb93ba authored by Sergei Petrunia's avatar Sergei Petrunia

Fix the testcase for MDEV-30693

parent 221b5d77
......@@ -2329,7 +2329,7 @@ CREATE TABLE t1 (c INT KEY) ENGINE=InnoDB;
SELECT * FROM (SELECT * FROM t1) a JOIN (SELECT * FROM (SELECT * FROM t1 GROUP BY c) d WHERE c>1) b ON a.c=b.c;
c c
DROP TABLE t1;
SET optimizer_use_condition_selectivity=1;
SET optimizer_use_condition_selectivity=@tmp_oucs;
#
# End of 11.0 tests
#
......@@ -289,7 +289,7 @@ set @tmp_oucs= @@optimizer_use_condition_selectivity;
CREATE TABLE t1 (c INT KEY) ENGINE=InnoDB;
SELECT * FROM (SELECT * FROM t1) a JOIN (SELECT * FROM (SELECT * FROM t1 GROUP BY c) d WHERE c>1) b ON a.c=b.c;
DROP TABLE t1;
SET optimizer_use_condition_selectivity=1;
SET optimizer_use_condition_selectivity=@tmp_oucs;
--echo #
--echo # End of 11.0 tests
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment