summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2006-03-30 00:20:14 +0400
committerkonstantin@mysql.com <>2006-03-30 00:20:14 +0400
commitd360687dc0dbe84287ddfce48d39f05b67a5724e (patch)
treedd106bad9be137fd2ef26a370034c05222156434 /sql/field.h
parent38bd424afaec948f11da1a70f36a02381850bc0a (diff)
downloadmariadb-git-d360687dc0dbe84287ddfce48d39f05b67a5724e.tar.gz
Fix an -ansi -pedantic compilation failure
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h
index f53227e5fd6..1bd72d79ce3 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -321,7 +321,7 @@ public:
longlong convert_decimal2longlong(const my_decimal *val, bool unsigned_flag,
int *err);
/* The max. number of characters */
- inline uint32 Field::char_length() const
+ inline uint32 char_length() const
{
return field_length / charset()->mbmaxlen;
}