1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Geometry field type implementation

This commit is contained in:
hf@genie.(none)
2002-10-04 12:48:32 +05:00
parent c8627ff18d
commit 71d0f48f1f
5 changed files with 28 additions and 8 deletions

View File

@ -937,6 +937,8 @@ public:
:Field_blob(len_arg, maybe_null_arg, field_name_arg,
table_arg, binary_arg, default_charset_info) {}
enum ha_base_keytype key_type() const { return HA_KEYTYPE_VARBINARY; }
enum_field_types type() const { return FIELD_TYPE_GEOMETRY;}
void sql_type(String &str) const;
void get_key_image(char *buff,uint length, imagetype type);
void set_key_image(char *buff,uint length);