Commit be1640e2 authored by unknown's avatar unknown
Browse files

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

Field_geom lack size_of method


sql/field.h:
  size_of implemented
parent 7c3f55ec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1204,6 +1204,7 @@ class Field_geom :public Field_blob {
  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*/