From d710853fb83a6ad3e57b3fbce65f96c119441cb0 Mon Sep 17 00:00:00 2001 From: "ramil/ram@mysql.com/ramil.myoffice.izhnet.ru" <> Date: Thu, 1 Feb 2007 19:51:02 +0400 Subject: [PATCH] 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/field.h b/sql/field.h index e4991ba1961..c50e7cdd696 100644 --- a/sql/field.h +++ b/sql/field.h @@ -645,6 +645,7 @@ public: 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); } };