1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Made the optimizer switch for index condition pushdown set to 'on' by default.

This commit is contained in:
Igor Babaev
2011-11-21 05:16:16 -08:00
parent 3c496ea9ad
commit af3d1da31d
40 changed files with 324 additions and 323 deletions

View File

@ -104,7 +104,7 @@ insert into t1 (b) values ("hello"),("my"),("world");
create table t2 (key (b)) select * from t1;
explain select * from t2 where b="world";
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 ref B B 21 const 1 Using where
1 SIMPLE t2 ref B B 21 const 1 Using index condition
select * from t2 where b="world";
a B
3 world