File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5197,7 +5197,7 @@ SELECT * FROM (SELECT DISTINCT * FROM t1) t
5197
5197
WHERE t.a IN (SELECT t2.a FROM t2);
5198
5198
id select_type table type possible_keys key key_len ref rows Extra
5199
5199
1 PRIMARY t2 ALL NULL NULL NULL NULL 4 Using where; Start temporary
5200
- 1 PRIMARY <derived2> ref key0 key0 5 test.t2.a 2 End temporary
5200
+ 1 PRIMARY <derived2> ref key0 key0 5 test.t2.a 1 End temporary
5201
5201
2 DERIVED t1 ALL NULL NULL NULL NULL 3 Using temporary
5202
5202
SELECT * FROM (SELECT DISTINCT * FROM t1) t
5203
5203
WHERE t.a IN (SELECT t2.a FROM t2);
@@ -5208,8 +5208,8 @@ EXPLAIN
5208
5208
SELECT * FROM (SELECT DISTINCT * FROM t1) t
5209
5209
WHERE t.a IN (SELECT t2.a FROM t2);
5210
5210
id select_type table type possible_keys key key_len ref rows Extra
5211
- 1 PRIMARY <derived2> ALL NULL NULL NULL NULL 3
5212
- 1 PRIMARY t2 ALL NULL NULL NULL NULL 4 Using where; Start temporary; End temporary; Using join buffer (flat, BNL join)
5211
+ 1 PRIMARY t2 ALL NULL NULL NULL NULL 4 Using where; Start temporary
5212
+ 1 PRIMARY <derived2> ref key0 key0 5 test.t2.a 1 End temporary
5213
5213
2 DERIVED t1 ALL NULL NULL NULL NULL 3 Using temporary
5214
5214
SELECT * FROM (SELECT DISTINCT * FROM t1) t
5215
5215
WHERE t.a IN (SELECT t2.a FROM t2);
You can’t perform that action at this time.
0 commit comments