diff options
author | holyfoot@mysql.com <> | 2006-06-26 22:32:02 +0500 |
---|---|---|
committer | holyfoot@mysql.com <> | 2006-06-26 22:32:02 +0500 |
commit | 0a9a755419a13287c86a8065a35509848e03e9bc (patch) | |
tree | d80a7a0f57c15f731dd1554355161803f69d5c95 /sql/item_geofunc.h | |
parent | 3c6a8146be193e5dfc6e6e9d4ef2a7e9f086c032 (diff) | |
parent | bb347299b1de93dbdc840cbb333daaf73d101546 (diff) | |
download | mariadb-git-0a9a755419a13287c86a8065a35509848e03e9bc.tar.gz |
merging
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 c45fb88a48a..1f64fdba609 100644 --- a/sql/item_geofunc.h +++ b/sql/item_geofunc.h @@ -32,6 +32,7 @@ public: Item_geometry_func(Item *a,Item *b,Item *c) :Item_str_func(a,b,c) {} Item_geometry_func(List<Item> &list) :Item_str_func(list) {} void fix_length_and_dec(); + enum_field_types field_type() const { return MYSQL_TYPE_GEOMETRY; } }; class Item_func_geometry_from_text: public Item_geometry_func @@ -67,6 +68,7 @@ public: Item_func_as_wkb(Item *a): Item_geometry_func(a) {} const char *func_name() const { return "aswkb"; } String *val_str(String *); + enum_field_types field_type() const { return MYSQL_TYPE_BLOB; } }; class Item_func_geometry_type: public Item_str_func |