Commit d9f5fac9 authored by unknown's avatar unknown

Fix an -ansi -pedantic compilation failure

parent 87e91781
...@@ -321,7 +321,7 @@ class Field ...@@ -321,7 +321,7 @@ class Field
longlong convert_decimal2longlong(const my_decimal *val, bool unsigned_flag, longlong convert_decimal2longlong(const my_decimal *val, bool unsigned_flag,
int *err); int *err);
/* The max. number of characters */ /* The max. number of characters */
inline uint32 Field::char_length() const inline uint32 char_length() const
{ {
return field_length / charset()->mbmaxlen; return field_length / charset()->mbmaxlen;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment