summaryrefslogtreecommitdiff
path: root/sql/spatial.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2017-01-24 22:39:55 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2017-01-24 22:39:55 +0400
commit1782102d978caeea282147ff6ca89e325a3da512 (patch)
tree06b3ac9e2a3369b11c80be46811397de6a4a29fa /sql/spatial.h
parent6cdbf2027e4f6dff40e0ea5da8d6cc6b9b6e255b (diff)
downloadmariadb-git-1782102d978caeea282147ff6ca89e325a3da512.tar.gz
MDEV-11042 Implement GeoJSON functions.
Typenames made into proper character case.
Diffstat (limited to 'sql/spatial.h')
-rw-r--r--sql/spatial.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/spatial.h b/sql/spatial.h
index 926f66d5357..3858c0d2e51 100644
--- a/sql/spatial.h
+++ b/sql/spatial.h
@@ -265,9 +265,11 @@ public:
{
public:
LEX_STRING m_name;
+ LEX_STRING m_geojson_name;
int m_type_id;
create_geom_t m_create_func;
- Class_info(const char *name, int type_id, create_geom_t create_func);
+ Class_info(const char *name, const char *gejson_name,
+ int type_id, create_geom_t create_func);
};
virtual const Class_info *get_class_info() const=0;