Commit be1640e2 authored by unknown's avatar unknown

Fix for bug #12281 (Geometry: crash in trigger)

Field_geom lack size_of method


sql/field.h:
  size_of implemented
parent 7c3f55ec
...@@ -1204,6 +1204,7 @@ public: ...@@ -1204,6 +1204,7 @@ public:
int store(longlong nr); int store(longlong nr);
int store_decimal(const my_decimal *); int store_decimal(const my_decimal *);
void get_key_image(char *buff,uint length,imagetype type); void get_key_image(char *buff,uint length,imagetype type);
uint size_of() const { return sizeof(*this); }
}; };
#endif /*HAVE_SPATIAL*/ #endif /*HAVE_SPATIAL*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment