mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02:00
Fixed bug in Protocol::convert_str() (missing return caused "Out of memory" errors
when optimized). sql/protocol.cc: Put inline back and added missing return.
This commit is contained in:
parent
e4d956932e
commit
33c5a8afac
1 changed files with 2 additions and 2 deletions
|
|
@ -40,9 +40,9 @@ bool Protocol::net_store_data(const char *from, uint length)
|
|||
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue