Commit 4e1772e9 authored by unknown's avatar unknown
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().


sql/field.h:
  Fix for bug #26012: missed Field_double::size_of()
    - Field_double::size_of() added.
parent 0f462179
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); }
};