From d360687dc0dbe84287ddfce48d39f05b67a5724e Mon Sep 17 00:00:00 2001 From: "konstantin@mysql.com" <> Date: Thu, 30 Mar 2006 00:20:14 +0400 Subject: [PATCH] Fix an -ansi -pedantic compilation failure --- sql/field.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }