diff options
author | unknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru> | 2007-02-01 19:51:02 +0400 |
---|---|---|
committer | unknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru> | 2007-02-01 19:51:02 +0400 |
commit | 4e1772e990997510b7383f77e9f9bc7bb79dc0be (patch) | |
tree | 01f59a33f4178a8c34565be2dcf309ca6775494d /sql/field.h | |
parent | 0f462179dba195519661d91e49b76d65cb1ba618 (diff) | |
download | mariadb-git-4e1772e990997510b7383f77e9f9bc7bb79dc0be.tar.gz |
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.
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); } }; |