summaryrefslogtreecommitdiff
path: root/sql/protocol.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/protocol.cc')
-rw-r--r--sql/protocol.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc
index adb925a8cd4..da9f5712e3a 100644
--- a/sql/protocol.cc
+++ b/sql/protocol.cc
@@ -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