Skip to content

Commit

Permalink
Fix the testcase for MDEV-30693
Browse files Browse the repository at this point in the history
  • Loading branch information
spetrunia committed Mar 20, 2023
1 parent 221b5d7 commit f6cb93b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mysql-test/main/selectivity_innodb.result
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
2 changes: 1 addition & 1 deletion mysql-test/main/selectivity_innodb.test
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6cb93b

Please sign in to comment.