diff options
author | Alexander Barkov <bar@mariadb.org> | 2017-05-06 20:44:05 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-05-06 20:44:05 +0400 |
commit | c898de84b78482932fd5110e4bc40229f109d424 (patch) | |
tree | 0e09ff8bd83ed6ca888b2ed30aa0da5d27c32a22 /sql/item_geofunc.h | |
parent | 46239f29c6e624da3b516a25433b5dfb97fe12ea (diff) | |
download | mariadb-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.h | 2 |
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); } |