Skip to content

Commit f6cb93b

Browse files
committed
Fix the testcase for MDEV-30693
1 parent 221b5d7 commit f6cb93b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mysql-test/main/selectivity_innodb.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2329,7 +2329,7 @@ CREATE TABLE t1 (c INT KEY) ENGINE=InnoDB;
23292329
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;
23302330
c c
23312331
DROP TABLE t1;
2332-
SET optimizer_use_condition_selectivity=1;
2332+
SET optimizer_use_condition_selectivity=@tmp_oucs;
23332333
#
23342334
# End of 11.0 tests
23352335
#

mysql-test/main/selectivity_innodb.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ set @tmp_oucs= @@optimizer_use_condition_selectivity;
289289
CREATE TABLE t1 (c INT KEY) ENGINE=InnoDB;
290290
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;
291291
DROP TABLE t1;
292-
SET optimizer_use_condition_selectivity=1;
292+
SET optimizer_use_condition_selectivity=@tmp_oucs;
293293

294294
--echo #
295295
--echo # End of 11.0 tests

0 commit comments

Comments
 (0)