summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorramil/ram@mysql.com/ramil.myoffice.izhnet.ru <>2007-02-01 19:55:11 +0400
committerramil/ram@mysql.com/ramil.myoffice.izhnet.ru <>2007-02-01 19:55:11 +0400
commitac0cab158947af39e418c1a935a8066b10906696 (patch)
treea28a0db442f5dc3fa5f02abaaad42cb3371da79d /sql/field.h
parentad66e7a0dd8d28ccc9a2ab206de373ec6a5aebcc (diff)
parent7bcf2bf338a1af9dfe278bb481a3c95192280760 (diff)
downloadmariadb-git-ac0cab158947af39e418c1a935a8066b10906696.tar.gz
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
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 26092c12372..7f71fd2aec8 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -763,6 +763,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); }
};