@@ -9,7 +9,7 @@ insert into t1 values (4,40,400,4000,40000,400000);
99insert into t1 values (5,50,500,5000,50000,500000);
1010explain select * from t1;
1111id select_type table type possible_keys key key_len ref rows Extra
12- 1 SIMPLE t1 index NULL b NULL NULL NULL; Using index
12+ 1 SIMPLE t1 index NULL b NULL NULL NULL Using index
1313select * from t1;
1414a b c d e f
15151 10 100 1000 10000 100000
@@ -19,7 +19,7 @@ a b c d e f
19195 50 500 5000 50000 500000
2020explain select * from t1 where b > 0;
2121id select_type table type possible_keys key key_len ref rows Extra
22- 1 SIMPLE t1 index b b NULL NULL NULL; Using where; Using index
22+ 1 SIMPLE t1 index b b NULL NULL NULL Using where; Using index
2323select * from t1 where b > 0;
2424a b c d e f
25251 10 100 1000 10000 100000
@@ -29,7 +29,7 @@ a b c d e f
29295 50 500 5000 50000 500000
3030explain select * from t1 where d > 0;
3131id select_type table type possible_keys key key_len ref rows Extra
32- 1 SIMPLE t1 index d d NULL NULL NULL; Using where; Using index
32+ 1 SIMPLE t1 index d d NULL NULL NULL Using where; Using index
3333select * from t1 where d > 0;
3434a b c d e f
35351 10 100 1000 10000 100000
@@ -39,7 +39,7 @@ a b c d e f
39395 50 500 5000 50000 500000
4040explain select a from t1 where d > 0;
4141id select_type table type possible_keys key key_len ref rows Extra
42- 1 SIMPLE t1 index d d NULL NULL NULL; Using where; Using index
42+ 1 SIMPLE t1 index d d NULL NULL NULL Using where; Using index
4343select a from t1 where d > 0;
4444a
45451
7171update t1 set a = a+1, b = b+10;
7272explain select * from t1;
7373id select_type table type possible_keys key key_len ref rows Extra
74- 1 SIMPLE t1 index NULL b NULL NULL NULL; Using index
74+ 1 SIMPLE t1 index NULL b NULL NULL NULL Using index
7575select * from t1;
7676a b c d e f
77772 20 100 1000 10000 100000
@@ -81,7 +81,7 @@ a b c d e f
81816 60 500 5000 50000 500000
8282explain select * from t1 where b > 0;
8383id select_type table type possible_keys key key_len ref rows Extra
84- 1 SIMPLE t1 index b b NULL NULL NULL; Using where; Using index
84+ 1 SIMPLE t1 index b b NULL NULL NULL Using where; Using index
8585select * from t1 where b > 0;
8686a b c d e f
87872 20 100 1000 10000 100000
@@ -91,7 +91,7 @@ a b c d e f
91916 60 500 5000 50000 500000
9292explain select * from t1 where d > 0;
9393id select_type table type possible_keys key key_len ref rows Extra
94- 1 SIMPLE t1 index d d NULL NULL NULL; Using where; Using index
94+ 1 SIMPLE t1 index d d NULL NULL NULL Using where; Using index
9595select * from t1 where d > 0;
9696a b c d e f
97972 20 100 1000 10000 100000
@@ -101,7 +101,7 @@ a b c d e f
1011016 60 500 5000 50000 500000
102102explain select a from t1 where d > 0;
103103id select_type table type possible_keys key key_len ref rows Extra
104- 1 SIMPLE t1 index d d NULL NULL NULL; Using where; Using index
104+ 1 SIMPLE t1 index d d NULL NULL NULL Using where; Using index
105105select a from t1 where d > 0;
106106a
1071072
@@ -133,28 +133,28 @@ e f
133133delete from t1 where b > 35;
134134explain select * from t1;
135135id select_type table type possible_keys key key_len ref rows Extra
136- 1 SIMPLE t1 index NULL b NULL NULL NULL; Using index
136+ 1 SIMPLE t1 index NULL b NULL NULL NULL Using index
137137select * from t1;
138138a b c d e f
1391392 20 100 1000 10000 100000
1401403 30 200 2000 20000 200000
141141explain select * from t1 where b > 0;
142142id select_type table type possible_keys key key_len ref rows Extra
143- 1 SIMPLE t1 index b b NULL NULL NULL; Using where; Using index
143+ 1 SIMPLE t1 index b b NULL NULL NULL Using where; Using index
144144select * from t1 where b > 0;
145145a b c d e f
1461462 20 100 1000 10000 100000
1471473 30 200 2000 20000 200000
148148explain select * from t1 where d > 0;
149149id select_type table type possible_keys key key_len ref rows Extra
150- 1 SIMPLE t1 index d d NULL NULL NULL; Using where; Using index
150+ 1 SIMPLE t1 index d d NULL NULL NULL Using where; Using index
151151select * from t1 where d > 0;
152152a b c d e f
1531532 20 100 1000 10000 100000
1541543 30 200 2000 20000 200000
155155explain select a from t1 where d > 0;
156156id select_type table type possible_keys key key_len ref rows Extra
157- 1 SIMPLE t1 index d d NULL NULL NULL; Using where; Using index
157+ 1 SIMPLE t1 index d d NULL NULL NULL Using where; Using index
158158select a from t1 where d > 0;
159159a
1601602
@@ -175,28 +175,28 @@ alter table t1 drop index b, drop index d;
175175alter table t1 add key b(b) clustering=yes, add index d(d,a) clustering=yes;
176176explain select * from t1;
177177id select_type table type possible_keys key key_len ref rows Extra
178- 1 SIMPLE t1 index NULL b NULL NULL NULL; Using index
178+ 1 SIMPLE t1 index NULL b NULL NULL NULL Using index
179179select * from t1;
180180a b c d e f
1811812 20 100 1000 10000 100000
1821823 30 200 2000 20000 200000
183183explain select * from t1 where b > 0;
184184id select_type table type possible_keys key key_len ref rows Extra
185- 1 SIMPLE t1index b b NULL NULL NULL; Using where; Using index
185+ 1 SIMPLE t1X b b NULL NULL NULL Using where; Using index
186186select * from t1 where b > 0;
187187a b c d e f
1881882 20 100 1000 10000 100000
1891893 30 200 2000 20000 200000
190190explain select * from t1 where d > 0;
191191id select_type table type possible_keys key key_len ref rows Extra
192- 1 SIMPLE t1index d d NULL NULL NULL; Using where; Using index
192+ 1 SIMPLE t1X d d NULL NULL NULL Using where; Using index
193193select * from t1 where d > 0;
194194a b c d e f
1951952 20 100 1000 10000 100000
1961963 30 200 2000 20000 200000
197197explain select a from t1 where d > 0;
198198id select_type table type possible_keys key key_len ref rows Extra
199- 1 SIMPLE t1 NULL d d NULL NULL NULL; Using where; Using index
199+ 1 SIMPLE t1 NULL d d NULL NULL NULL Using where; Using index
200200select a from t1 where d > 0;
201201a
2022022
0 commit comments