diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2017-08-07 12:49:04 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2017-08-07 12:49:04 +0400 |
commit | 4ff6ebf76af763f8e9e98b22773ac68cc2415aa1 (patch) | |
tree | 8d11cd51b54b4a7b65c1373ced3b99be9b9e7567 /sql/spatial.h | |
parent | c508691a9303579e5d614159bc872eeb65b8f84c (diff) | |
download | mariadb-git-4ff6ebf76af763f8e9e98b22773ac68cc2415aa1.tar.gz |
MDEV-12181 ST_AsGeoJSON argument does not limit decimals.
Options handling implemented for ST_AsGeoJSON.
Diffstat (limited to 'sql/spatial.h')
-rw-r--r-- | sql/spatial.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/spatial.h b/sql/spatial.h index 45f335596c8..78e850dc2d7 100644 --- a/sql/spatial.h +++ b/sql/spatial.h @@ -323,6 +323,7 @@ public: String *res, Gcalc_result_receiver &rr); int as_wkt(String *wkt, const char **end); int as_json(String *wkt, uint max_dec_digits, const char **end); + int bbox_as_json(String *wkt); inline void set_data_ptr(const char *data, uint32 data_len) { |