Commit 4e1772e9 authored by unknown's avatar unknown

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
...@@ -645,6 +645,7 @@ public: ...@@ -645,6 +645,7 @@ public:
uint32 pack_length() const { return sizeof(double); } uint32 pack_length() const { return sizeof(double); }
void sql_type(String &str) const; void sql_type(String &str) const;
uint32 max_length() { return 53; } uint32 max_length() { return 53; }
uint size_of() const { return sizeof(*this); }
}; };
......
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