diff options
author | holyfoot/hf@hfmain.(none) <> | 2007-06-14 16:41:10 +0500 |
---|---|---|
committer | holyfoot/hf@hfmain.(none) <> | 2007-06-14 16:41:10 +0500 |
commit | 8ccc50b303389879acc3055912577958d94547dc (patch) | |
tree | 6a54e529a87637aaecb9e9ea0eaa44a985ecf02c /sql/field.h | |
parent | d870247de1f242c9f44c06e20a0fb2f5e308107d (diff) | |
parent | 20ad51500325027dcf629867c053ce0efeb5a81e (diff) | |
download | mariadb-git-8ccc50b303389879acc3055912577958d94547dc.tar.gz |
Merge bk@192.168.21.1:mysql-5.0
into mysql.com:/d2/hf/mrg/mysql-5.0-opt
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h index 46efb150205..fb6534b7b55 100644 --- a/sql/field.h +++ b/sql/field.h @@ -360,7 +360,12 @@ public: { return field_length / charset()->mbmaxlen; } - + virtual geometry_type get_geometry_type() + { + /* shouldn't get here. */ + DBUG_ASSERT(0); + return GEOM_GEOMETRY; + } friend bool reopen_table(THD *,struct st_table *,bool); friend int cre_myisam(my_string name, register TABLE *form, uint options, ulonglong auto_increment_value); @@ -1324,6 +1329,7 @@ public: uint get_key_image(char *buff,uint length,imagetype type); uint size_of() const { return sizeof(*this); } int reset(void) { return !maybe_null() || Field_blob::reset(); } + geometry_type get_geometry_type() { return geom_type; }; }; #endif /*HAVE_SPATIAL*/ |