summaryrefslogtreecommitdiff
path: root/sql/item_geofunc.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-05-06 20:44:05 +0400
committerAlexander Barkov <bar@mariadb.org>2017-05-06 20:44:05 +0400
commitc898de84b78482932fd5110e4bc40229f109d424 (patch)
tree0e09ff8bd83ed6ca888b2ed30aa0da5d27c32a22 /sql/item_geofunc.h
parent46239f29c6e624da3b516a25433b5dfb97fe12ea (diff)
downloadmariadb-git-c898de84b78482932fd5110e4bc40229f109d424.tar.gz
MDEV-12714 Determine Item::field_type() from Item::type_handler()
Diffstat (limited to 'sql/item_geofunc.h')
-rw-r--r--sql/item_geofunc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/item_geofunc.h b/sql/item_geofunc.h
index 633945e8e73..cf6d9bb1360 100644
--- a/sql/item_geofunc.h
+++ b/sql/item_geofunc.h
@@ -39,7 +39,6 @@ public:
Item_str_func(thd, a, b, c) {}
Item_geometry_func(THD *thd, List<Item> &list): Item_str_func(thd, list) {}
void fix_length_and_dec();
- enum_field_types field_type() const { return MYSQL_TYPE_GEOMETRY; }
const Type_handler *type_handler() const { return &type_handler_geometry; }
};
@@ -101,7 +100,6 @@ public:
Item_func_as_wkb(THD *thd, Item *a): Item_geometry_func(thd, a) {}
const char *func_name() const { return "st_aswkb"; }
String *val_str(String *);
- enum_field_types field_type() const { return MYSQL_TYPE_LONG_BLOB; }
const Type_handler *type_handler() const { return &type_handler_long_blob; }
Item *get_copy(THD *thd, MEM_ROOT *mem_root)
{ return get_item_copy<Item_func_as_wkb>(thd, mem_root, this); }