From be1640e2da85b14fe0317556ff1efb29873f0a2f Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 5 Aug 2005 20:19:51 +0500 Subject: [PATCH] Fix for bug #12281 (Geometry: crash in trigger) Field_geom lack size_of method sql/field.h: size_of implemented --- sql/field.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/field.h b/sql/field.h index 523cf444c30..2b67ed3f599 100644 --- a/sql/field.h +++ b/sql/field.h @@ -1204,6 +1204,7 @@ public: int store(longlong nr); int store_decimal(const my_decimal *); void get_key_image(char *buff,uint length,imagetype type); + uint size_of() const { return sizeof(*this); } }; #endif /*HAVE_SPATIAL*/