You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mysql-test/r/archive_gis.result
+2-2
Original file line number
Diff line number
Diff line change
@@ -402,8 +402,8 @@ Equals(g1.g, g2.g) as e, Disjoint(g1.g, g2.g) as d, Touches(g1.g, g2.g) as t,
402
402
Intersects(g1.g, g2.g) as i, Crosses(g1.g, g2.g) as r
403
403
FROM gis_geometrycollection g1, gis_geometrycollection g2 ORDER BY first, second;
404
404
id select_type table type possible_keys key key_len ref rows filtered Extra
405
-
1 SIMPLE g1 ALL NULL NULL NULL NULL 2 100.00 Using temporary; Using filesort; Using join cache
406
-
1 SIMPLE g2 ALL NULL NULL NULL NULL 2 100.00
405
+
1 SIMPLE g1 ALL NULL NULL NULL NULL 2 100.00 Using temporary; Using filesort
406
+
1 SIMPLE g2 ALL NULL NULL NULL NULL 2 100.00 Using join buffer
407
407
Warnings:
408
408
Note 1003 select `test`.`g1`.`fid` AS `first`,`test`.`g2`.`fid` AS `second`,within(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `w`,contains(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `c`,overlaps(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `o`,equals(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `e`,disjoint(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `d`,touches(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `t`,intersects(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `i`,crosses(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `r` from `test`.`gis_geometrycollection` `g1` join `test`.`gis_geometrycollection` `g2` order by `test`.`g1`.`fid`,`test`.`g2`.`fid`
409
409
DROP TABLE gis_point, gis_line, gis_polygon, gis_multi_point, gis_multi_line, gis_multi_polygon, gis_geometrycollection, gis_geometry;
Copy file name to clipboardExpand all lines: mysql-test/r/compress.result
+2-2
Original file line number
Diff line number
Diff line change
@@ -1434,8 +1434,8 @@ companynr companynr
1434
1434
41 40
1435
1435
explain select distinct t2.companynr,t4.companynr from t2,t4 where t2.companynr=t4.companynr+1;
1436
1436
id select_type table type possible_keys key key_len ref rows Extra
1437
-
1 SIMPLE t4 index NULL PRIMARY 1 NULL 12 Using index; Using temporary; Using join cache
1438
-
1 SIMPLE t2 ALL NULL NULL NULL NULL 1199 Using where
1437
+
1 SIMPLE t4 index NULL PRIMARY 1 NULL 12 Using index; Using temporary
1438
+
1 SIMPLE t2 ALL NULL NULL NULL NULL 1199 Using where; Using join buffer
1439
1439
select t2.fld1,t2.companynr,fld3,period from t3,t2 where t2.fld1 = 38208 and t2.fld1=t3.t2nr and period = 1008 or t2.fld1 = 38008 and t2.fld1 =t3.t2nr and period = 1008;
Copy file name to clipboardExpand all lines: mysql-test/r/derived.result
+10-10
Original file line number
Diff line number
Diff line change
@@ -57,8 +57,8 @@ a b a b
57
57
3 c 3 c
58
58
explain select * from t1 as x1, (select * from t1) as x2;
59
59
id select_type table type possible_keys key key_len ref rows Extra
60
-
1 PRIMARY x1 ALL NULL NULL NULL NULL 4 Using join cache
61
-
1 PRIMARY <derived2> ALL NULL NULL NULL NULL 4
60
+
1 PRIMARY x1 ALL NULL NULL NULL NULL 4
61
+
1 PRIMARY <derived2> ALL NULL NULL NULL NULL 4 Using join buffer
62
62
2 DERIVED t1 ALL NULL NULL NULL NULL 4
63
63
drop table if exists t2,t3;
64
64
select * from (select 1) as a;
@@ -188,14 +188,14 @@ pla_id test
188
188
105 3
189
189
explain SELECT STRAIGHT_JOIN d.pla_id, m2.mat_id FROM t1 m2 INNER JOIN (SELECT mp.pla_id, MIN(m1.matintnum) AS matintnum FROM t2 mp INNER JOIN t1 m1 ON mp.mat_id=m1.mat_id GROUP BY mp.pla_id) d ON d.matintnum=m2.matintnum;
190
190
id select_type table type possible_keys key key_len ref rows Extra
191
-
1 PRIMARY m2 ALL NULL NULL NULL NULL 9 Using join cache
192
-
1 PRIMARY <derived2> ALL NULL NULL NULL NULL 6 Using where
191
+
1 PRIMARY m2 ALL NULL NULL NULL NULL 9
192
+
1 PRIMARY <derived2> ALL NULL NULL NULL NULL 6 Using where; Using join buffer
193
193
2 DERIVED mp ALL NULL NULL NULL NULL 9 Using temporary; Using filesort
explain SELECT STRAIGHT_JOIN d.pla_id, m2.test FROM t1 m2 INNER JOIN (SELECT mp.pla_id, MIN(m1.matintnum) AS matintnum FROM t2 mp INNER JOIN t1 m1 ON mp.mat_id=m1.mat_id GROUP BY mp.pla_id) d ON d.matintnum=m2.matintnum;
196
196
id select_type table type possible_keys key key_len ref rows Extra
197
-
1 PRIMARY m2 ALL NULL NULL NULL NULL 9 Using join cache
198
-
1 PRIMARY <derived2> ALL NULL NULL NULL NULL 6 Using where
197
+
1 PRIMARY m2 ALL NULL NULL NULL NULL 9
198
+
1 PRIMARY <derived2> ALL NULL NULL NULL NULL 6 Using where; Using join buffer
199
199
2 DERIVED mp ALL NULL NULL NULL NULL 9 Using temporary; Using filesort
explain select * from ( select * from t1 union select * from t1) a,(select * from t1 union select * from t1) b;
247
247
id select_type table type possible_keys key key_len ref rows Extra
248
-
1 PRIMARY <derived2> ALL NULL NULL NULL NULL 2 Using join cache
249
-
1 PRIMARY <derived4> ALL NULL NULL NULL NULL 2
248
+
1 PRIMARY <derived2> ALL NULL NULL NULL NULL 2
249
+
1 PRIMARY <derived4> ALL NULL NULL NULL NULL 2 Using join buffer
250
250
4 DERIVED t1 ALL NULL NULL NULL NULL 2
251
251
5 UNION t1 ALL NULL NULL NULL NULL 2
252
252
NULL UNION RESULT <union4,5> ALL NULL NULL NULL NULL NULL
@@ -312,8 +312,8 @@ b 3.5000
312
312
explain SELECT s.name, AVG(s.val) AS median FROM (SELECT x.name, x.val FROM t1 x, t1 y WHERE x.name=y.name GROUP BY x.name, x.val HAVING SUM(y.val <= x.val) >= COUNT(*)/2 AND SUM(y.val >= x.val) >= COUNT(*)/2) AS s GROUP BY s.name;
313
313
id select_type table type possible_keys key key_len ref rows Extra
314
314
1 PRIMARY <derived2> ALL NULL NULL NULL NULL 3 Using temporary; Using filesort
315
-
2 DERIVED x ALL NULL NULL NULL NULL 17 Using temporary; Using filesort; Using join cache
316
-
2 DERIVED y ALL NULL NULL NULL NULL 17 Using where
315
+
2 DERIVED x ALL NULL NULL NULL NULL 17 Using temporary; Using filesort
316
+
2 DERIVED y ALL NULL NULL NULL NULL 17 Using where; Using join buffer
Copy file name to clipboardExpand all lines: mysql-test/r/gis.result
+2-2
Original file line number
Diff line number
Diff line change
@@ -394,8 +394,8 @@ Equals(g1.g, g2.g) as e, Disjoint(g1.g, g2.g) as d, Touches(g1.g, g2.g) as t,
394
394
Intersects(g1.g, g2.g) as i, Crosses(g1.g, g2.g) as r
395
395
FROM gis_geometrycollection g1, gis_geometrycollection g2 ORDER BY first, second;
396
396
id select_type table type possible_keys key key_len ref rows filtered Extra
397
-
1 SIMPLE g1 ALL NULL NULL NULL NULL 2 100.00 Using temporary; Using filesort; Using join cache
398
-
1 SIMPLE g2 ALL NULL NULL NULL NULL 2 100.00
397
+
1 SIMPLE g1 ALL NULL NULL NULL NULL 2 100.00 Using temporary; Using filesort
398
+
1 SIMPLE g2 ALL NULL NULL NULL NULL 2 100.00 Using join buffer
399
399
Warnings:
400
400
Note 1003 select `test`.`g1`.`fid` AS `first`,`test`.`g2`.`fid` AS `second`,within(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `w`,contains(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `c`,overlaps(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `o`,equals(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `e`,disjoint(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `d`,touches(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `t`,intersects(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `i`,crosses(`test`.`g1`.`g`,`test`.`g2`.`g`) AS `r` from `test`.`gis_geometrycollection` `g1` join `test`.`gis_geometrycollection` `g2` order by `test`.`g1`.`fid`,`test`.`g2`.`fid`
401
401
DROP TABLE gis_point, gis_line, gis_polygon, gis_multi_point, gis_multi_line, gis_multi_polygon, gis_geometrycollection, gis_geometry;
0 commit comments