Commit d360687d authored by konstantin@mysql.com's avatar konstantin@mysql.com

Fix an -ansi -pedantic compilation failure

parent 38bd424a
...@@ -321,7 +321,7 @@ public: ...@@ -321,7 +321,7 @@ public:
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