summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmysql/libmysql.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 9257bf0efd0..73f8f8f8b0b 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -3168,6 +3168,9 @@ void my_net_local_init(NET *net)
null byte. When mysql_hex_string() returns, the contents of "to" will
be a null-terminated string. The return value is the length of the
encoded string, not including the terminating null character.
+
+ The return value does not contain any leading 0x or a leading X' and
+ trailing '. The caller must supply whichever of those is desired.
*/
unsigned long