diff options
Diffstat (limited to 'sql/item_geofunc.h')
-rw-r--r-- | sql/item_geofunc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_geofunc.h b/sql/item_geofunc.h index b6a49a38743..633945e8e73 100644 --- a/sql/item_geofunc.h +++ b/sql/item_geofunc.h @@ -40,6 +40,7 @@ public: 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; } }; class Item_func_geometry_from_text: public Item_geometry_func @@ -101,6 +102,7 @@ public: 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); } }; |