Commit d710853f authored by ramil/ram@mysql.com/ramil.myoffice.izhnet.ru's avatar ramil/ram@mysql.com/ramil.myoffice.izhnet.ru
Browse files

Fix for bug #26012: missed Field_double::size_of()

As we have Field_double::not_fixed we must have Field_double::size_of().
parent 26c0934e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -645,6 +645,7 @@ class Field_double :public Field_num {
  uint32 pack_length() const { return sizeof(double); }
  void sql_type(String &str) const;
  uint32 max_length() { return 53; }
  uint size_of() const { return sizeof(*this); }
};