Skip to content

Commit c7617fd

Browse files
committed
Post Merge Fix
Update the result file of the ndb_statistics1 test. The change is due to fix for Bug #23259872: OPTIMIZER CHOOSES TO USE NON PRIMARY INDEX, EVEN THOUGH COST IS HIGHER. The optimizer now chooses a range access rather than a ref access in this particular case
1 parent c7eeb92 commit c7617fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysql-test/suite/ndb/r/ndb_statistics1.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ id select_type table type possible_keys key key_len ref rows Extra
141141
EXPLAIN
142142
SELECT * FROM t10000 WHERE J = 0 AND K < 1;
143143
id select_type table type possible_keys key key_len ref rows Extra
144-
1 SIMPLE t10000 ref PRIMARY,J J 5 const 2 Using where with pushed condition
144+
1 SIMPLE t10000 range PRIMARY,J J 9 NULL 2 Using where with pushed condition; Using MRR
145145
EXPLAIN
146146
SELECT * FROM t10000 WHERE J = 0 AND K BETWEEN 1 AND 10;
147147
id select_type table type possible_keys key key_len ref rows Extra

0 commit comments

Comments
 (0)