diff options
author | holyfoot/hf@hfmain.(none) <> | 2007-10-12 15:33:26 +0500 |
---|---|---|
committer | holyfoot/hf@hfmain.(none) <> | 2007-10-12 15:33:26 +0500 |
commit | 44325614ec15c5c1327f1d6072c0f13fbf931b99 (patch) | |
tree | dec235c3e716927534da8ddfc44ce5e39e800a7c /sql/item_geofunc.h | |
parent | 96e68cfbb58b2b391185cd587ac50009ee2d39a5 (diff) | |
parent | 16db036d82eba4bbfced502fe271ce863a354c60 (diff) | |
download | mariadb-git-44325614ec15c5c1327f1d6072c0f13fbf931b99.tar.gz |
Merge mysql.com:/home/hf/work/31155/my50-31155
into mysql.com:/home/hf/work/31155/my51-31155
Diffstat (limited to 'sql/item_geofunc.h')
-rw-r--r-- | sql/item_geofunc.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sql/item_geofunc.h b/sql/item_geofunc.h index 068caa447ef..62be78eee9e 100644 --- a/sql/item_geofunc.h +++ b/sql/item_geofunc.h @@ -33,7 +33,6 @@ public: void fix_length_and_dec(); enum_field_types field_type() const { return MYSQL_TYPE_GEOMETRY; } Field *tmp_table_field(TABLE *t_arg); - virtual int get_geometry_type() const; bool is_null() { (void) val_int(); return null_value; } }; @@ -92,7 +91,7 @@ public: Item_func_centroid(Item *a): Item_geometry_func(a) {} const char *func_name() const { return "centroid"; } String *val_str(String *); - int get_geometry_type() const; + Field::geometry_type get_geometry_type() const; }; class Item_func_envelope: public Item_geometry_func @@ -101,7 +100,7 @@ public: Item_func_envelope(Item *a): Item_geometry_func(a) {} const char *func_name() const { return "envelope"; } String *val_str(String *); - int get_geometry_type() const; + Field::geometry_type get_geometry_type() const; }; class Item_func_point: public Item_geometry_func @@ -111,7 +110,7 @@ public: Item_func_point(Item *a, Item *b, Item *srid): Item_geometry_func(a, b, srid) {} const char *func_name() const { return "point"; } String *val_str(String *); - int get_geometry_type() const; + Field::geometry_type get_geometry_type() const; }; class Item_func_spatial_decomp: public Item_geometry_func |