mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-12462 SPATIAL index fails to work with CONTAINS.
Flags are wrongly set for MBR_CONTAINS/MBR_WITHIN functions.
This commit is contained in:
@@ -55,5 +55,8 @@ count(*)
|
||||
SELECT fid, ST_AsText(g) FROM t1 WHERE ST_Within(g,
|
||||
ST_GeomFromText('Polygon((40 40,60 40,60 60,40 40))')) ORDER BY fid;
|
||||
fid ST_AsText(g)
|
||||
45 LINESTRING(51 51,60 60)
|
||||
46 LINESTRING(51 41,60 50)
|
||||
56 LINESTRING(41 41,50 50)
|
||||
DROP TABLE t1;
|
||||
End of 5.5 tests.
|
||||
|
Reference in New Issue
Block a user