mirror of
https://github.com/MariaDB/server.git
synced 2025-07-24 19:42:23 +03:00
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
This commit is contained in:
@ -76,6 +76,7 @@ id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE tab range idx3 idx3 34 NULL 1 Using where; Using filesort
|
||||
SELECT c1,ST_Astext(c4) FROM tab WHERE MBRContains(tab.c4, @g1) ORDER BY c1;
|
||||
c1 ST_Astext(c4)
|
||||
4 POLYGON((300 300,400 400,500 500,300 500,300 400,300 300))
|
||||
EXPLAIN UPDATE tab SET C2 = ST_GeomFromText('POINT(0 0)')
|
||||
WHERE MBRContains(tab.c4, @g1);
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
@ -399,6 +400,7 @@ test.tab check status OK
|
||||
SET @g1 = ST_GeomFromText('LINESTRING( 300 300,400 400)');
|
||||
SELECT c1,ST_Astext(c4) FROM tab WHERE MBRContains(tab.c4, @g1) ORDER BY c1;
|
||||
c1 ST_Astext(c4)
|
||||
4 POLYGON((300 300,400 400,500 500,300 500,300 400,300 300))
|
||||
DELETE FROM tab WHERE MBRContains(tab.c4, @g1);
|
||||
SELECT c1,ST_Astext(c4) FROM tab WHERE MBRContains(tab.c4, @g1) ORDER BY c1;
|
||||
c1 ST_Astext(c4)
|
||||
@ -408,7 +410,6 @@ test.tab check status OK
|
||||
SET @g1 = ST_GeomFromText('POLYGON((100 200,1010 1010,1020 1020,500 300,300 200,100 300,100 200))');
|
||||
SELECT c1,ST_Astext(c4) FROM tab WHERE ST_Crosses(tab.c4, @g1) ORDER BY c1;
|
||||
c1 ST_Astext(c4)
|
||||
4 POLYGON((300 300,400 400,500 500,300 500,300 400,300 300))
|
||||
5 POLYGON((1010 1010,1020 1020,1030 1030,1040 1030,1020 1010,1010 1010))
|
||||
DELETE FROM tab WHERE ST_Crosses(tab.c4, @g1);
|
||||
SELECT c1,ST_Astext(c4) FROM tab WHERE ST_Crosses(tab.c4, @g1) ORDER BY c1;
|
||||
@ -503,6 +504,7 @@ id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE tab range idx3 idx3 34 NULL 1 Using where; Using filesort
|
||||
SELECT c1,ST_Astext(c4) FROM tab WHERE MBRContains(tab.c4, @g1) ORDER BY c1;
|
||||
c1 ST_Astext(c4)
|
||||
4 POLYGON((300 300,400 400,500 500,300 500,300 400,300 300))
|
||||
EXPLAIN UPDATE tab SET C2 = ST_GeomFromText('POINT(0 0)')
|
||||
WHERE MBRContains(tab.c4, @g1);
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
@ -919,6 +921,7 @@ id select_type table type possible_keys key key_len ref rows Extra
|
||||
1 SIMPLE tab range idx3 idx3 34 NULL 1 Using where; Using filesort
|
||||
SELECT c1,ST_Astext(c4) FROM tab WHERE MBRContains(tab.c4, @g1) ORDER BY c1;
|
||||
c1 ST_Astext(c4)
|
||||
4 POLYGON((300 300,400 400,500 500,300 500,300 400,300 300))
|
||||
EXPLAIN UPDATE tab SET C2 = ST_GeomFromText('POINT(0 0)')
|
||||
WHERE MBRContains(tab.c4, @g1);
|
||||
id select_type table type possible_keys key key_len ref rows Extra
|
||||
|
Reference in New Issue
Block a user