summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorramil/ram@mysql.com/ramil.myoffice.izhnet.ru <>2007-02-01 19:51:45 +0400
committerramil/ram@mysql.com/ramil.myoffice.izhnet.ru <>2007-02-01 19:51:45 +0400
commit7bcf2bf338a1af9dfe278bb481a3c95192280760 (patch)
tree39fcc3b45c386301af95178300a7c415c788b9b8 /sql/field.h
parent24e3508b0e3d1ca10a5a8e9db102a506371ebb1c (diff)
parentd710853fb83a6ad3e57b3fbce65f96c119441cb0 (diff)
downloadmariadb-git-7bcf2bf338a1af9dfe278bb481a3c95192280760.tar.gz
Merge mysql.com:/home/ram/work/b26012/b26012.4.1
into mysql.com:/home/ram/work/b26012/b26012.5.0
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h
index 2bea28eb87d..a31af1e9f34 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -755,6 +755,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); }
};