summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}