From 30d33c7132f44b3f6fefd2c4eae1f7279c977037 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 19 Oct 2004 07:44:20 -0500 Subject: [PATCH] libmysql.c: Add note to mysql_hex_string() comment. libmysql/libmysql.c: Add note to mysql_hex_string() comment. --- libmysql/libmysql.c | 3 +++ 1 file changed, 3 insertions(+) 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