summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorramil/ram@mysql.com/ramil.myoffice.izhnet.ru <>2007-02-01 19:51:02 +0400
committerramil/ram@mysql.com/ramil.myoffice.izhnet.ru <>2007-02-01 19:51:02 +0400
commitd710853fb83a6ad3e57b3fbce65f96c119441cb0 (patch)
tree01f59a33f4178a8c34565be2dcf309ca6775494d
parent26c0934ee3c66c05c268493484e363d6df02782e (diff)
downloadmariadb-git-d710853fb83a6ad3e57b3fbce65f96c119441cb0.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().
-rw-r--r--sql/field.h1
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); }
};