1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-11881 Empty coordinates must be rejected in GeoJSON objects.

Check for the empty 'coordinates' array.
This commit is contained in:
Alexey Botchkov
2017-11-14 13:36:50 +04:00
parent 5632652804
commit 24184938ad
6 changed files with 60 additions and 1 deletions

View File

@ -256,6 +256,7 @@ public:
GEOJ_TOO_FEW_POINTS= 2,
GEOJ_POLYGON_NOT_CLOSED= 3,
GEOJ_DIMENSION_NOT_SUPPORTED= 4,
GEOJ_EMPTY_COORDINATES= 5,
};