1
0
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:
Alexey Botchkov
2017-05-02 16:24:42 +04:00
parent 3ea9d3e59e
commit a60bdcba64
13 changed files with 47 additions and 31 deletions

View File

@@ -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.