diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-11-20 11:12:08 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-11-20 11:12:08 +0400 |
commit | 4a8039b04e60b599b90e1c58021026697272c324 (patch) | |
tree | b8f3d634a95f90b7a496aa3781fb3d9577294964 /sql/item_geofunc.cc | |
parent | a0c7d3ff940600aa2d7cff067396ef6985f0bdc4 (diff) | |
parent | a20c1217a5ce4235f72c59935a03b56fead2f6c4 (diff) | |
download | mariadb-git-4a8039b04e60b599b90e1c58021026697272c324.tar.gz |
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
Diffstat (limited to 'sql/item_geofunc.cc')
-rw-r--r-- | sql/item_geofunc.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item_geofunc.cc b/sql/item_geofunc.cc index 83d8d2516f0..9fd246bbe4c 100644 --- a/sql/item_geofunc.cc +++ b/sql/item_geofunc.cc @@ -165,6 +165,9 @@ String *Item_func_geometry_from_json::val_str(String *str) case Geometry::GEOJ_TOO_FEW_POINTS: code= ER_GEOJSON_TOO_FEW_POINTS; break; + case Geometry::GEOJ_EMPTY_COORDINATES: + code= ER_GEOJSON_EMPTY_COORDINATES; + break; case Geometry::GEOJ_POLYGON_NOT_CLOSED: code= ER_GEOJSON_NOT_CLOSED; break; |