summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2015-04-28 15:31:49 +0500
committerAlexey Botchkov <holyfoot@askmonty.org>2015-04-28 15:31:49 +0500
commita5fa434d0cec39b0db9f67ae2d6a824e2e53e39d (patch)
tree101d6c0bfc54a3de5d24e10a03ef1d15190b8104 /sql/item_geofunc.h
parent4c174fcb4aa0ad7173e0e19fb9c7f26e95903187 (diff)
downloadmariadb-git-a5fa434d0cec39b0db9f67ae2d6a824e2e53e39d.tar.gz
MDEV-7779 View definition changes upon creation.
Fixed by using POINT instead of ST_POINT in the item. Later need to fix that with proper ST_POINT implementation
Diffstat (limited to 'sql/item_geofunc.h')
-rw-r--r--sql/item_geofunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_geofunc.h b/sql/item_geofunc.h
index 2d715dc8765..a2a61758617 100644
--- a/sql/item_geofunc.h
+++ b/sql/item_geofunc.h
@@ -116,7 +116,7 @@ class Item_func_point: public Item_geometry_func
public:
Item_func_point(Item *a, Item *b): Item_geometry_func(a, b) {}
Item_func_point(Item *a, Item *b, Item *srid): Item_geometry_func(a, b, srid) {}
- const char *func_name() const { return "st_point"; }
+ const char *func_name() const { return "point"; }
String *val_str(String *);
Field::geometry_type get_geometry_type() const;
};