summaryrefslogtreecommitdiff
path: root/mysql-test/main/subselect2.result
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2019-02-14 00:15:48 -0800
committerIgor Babaev <igor@askmonty.org>2019-02-14 00:17:20 -0800
commite1de23b8d51c53b87a9d54352af0e99d4386e0ee (patch)
treedc8e1780b373a37f7a362c539cde520f34453662 /mysql-test/main/subselect2.result
parent76c34a74a8a93a0acca8521d20d8299f7a36ee0f (diff)
downloadmariadb-git-e1de23b8d51c53b87a9d54352af0e99d4386e0ee.tar.gz
MDEV-16188 Introduced the notion of adjusted filter gain.
Due to inconsistent usage of different cost models to calculate the cost of ref accesses we have to make the calculation of the gain promising by usage a range filter more complex.
Diffstat (limited to 'mysql-test/main/subselect2.result')
-rw-r--r--mysql-test/main/subselect2.result2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/main/subselect2.result b/mysql-test/main/subselect2.result
index 76208429184..21bf9aad122 100644
--- a/mysql-test/main/subselect2.result
+++ b/mysql-test/main/subselect2.result
@@ -132,7 +132,7 @@ id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t3 eq_ref PRIMARY,FFOLDERID_IDX,CMFLDRPARNT_IDX PRIMARY 34 test.t3.PARENTID 1 Using where
1 PRIMARY t3 eq_ref PRIMARY,FFOLDERID_IDX,CMFLDRPARNT_IDX PRIMARY 34 test.t3.PARENTID 1 Using where
1 PRIMARY t3 eq_ref PRIMARY,FFOLDERID_IDX,CMFLDRPARNT_IDX PRIMARY 34 test.t3.PARENTID 1 Using where
-1 PRIMARY t3 eq_ref PRIMARY,FFOLDERID_IDX,CMFLDRPARNT_IDX PRIMARY 34 test.t3.PARENTID 1 Using where
+1 PRIMARY t3 ref|filter PRIMARY,FFOLDERID_IDX,CMFLDRPARNT_IDX FFOLDERID_IDX|CMFLDRPARNT_IDX 34|35 test.t3.PARENTID 1 (29%) Using where; Using rowid filter
drop table t1, t2, t3, t4;
CREATE TABLE t1 (a int(10) , PRIMARY KEY (a)) Engine=InnoDB;
INSERT INTO t1 VALUES (1),(2);