From 4e1772e990997510b7383f77e9f9bc7bb79dc0be Mon Sep 17 00:00:00 2001 From: unknown 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: Fix for bug #26012: missed Field_double::size_of() - Field_double::size_of() added. --- 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); } };