Commit d9d5ddb5 authored by pem@mysql.com's avatar pem@mysql.com

Fixed bug in Protocol::convert_str() (missing return caused "Out of memory" errors

when optimized).
parent cd0a9029
...@@ -40,9 +40,9 @@ bool Protocol::net_store_data(const char *from, uint length) ...@@ -40,9 +40,9 @@ bool Protocol::net_store_data(const char *from, uint length)
return 0; return 0;
} }
bool Protocol::convert_str(const char *from, uint length) inline bool Protocol::convert_str(const char *from, uint length)
{ {
convert->store(packet, from, length); return convert->store(packet, from, length);
} }
#endif #endif
......
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