14
14
explain select * from t1 where str is null;
15
15
id select_type table type possible_keys key key_len ref rows Extra
17
17
explain select * from t1 where str="foo";
18
18
id select_type table type possible_keys key key_len ref rows Extra
20
20
explain select * from t1 ignore key (str) where str="foo";
21
21
id select_type table type possible_keys key key_len ref rows Extra
22
22
1 SIMPLE t1 ALL NULL NULL NULL NULL 4 Using where
23
23
explain select * from t1 use key (str,str) where str="foo";
24
24
id select_type table type possible_keys key key_len ref rows Extra
26
26
explain select * from t1 use key (str,str,foo) where str="foo";
27
27
ERROR 42000: Key 'foo' doesn't exist in table 't1'
28
28
explain select * from t1 ignore key (str,str,foo) where str="foo";