summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorunknown <paul@ice.snake.net>2004-10-19 07:44:20 -0500
committerunknown <paul@ice.snake.net>2004-10-19 07:44:20 -0500
commit30d33c7132f44b3f6fefd2c4eae1f7279c977037 (patch)
treee6e23c8643248654c35ef4750c1702e3cf2eb98c /libmysql
parent2428fb5c2b01aba74fb3cb49bca9d690c203b715 (diff)
downloadmariadb-git-30d33c7132f44b3f6fefd2c4eae1f7279c977037.tar.gz
libmysql.c:
Add note to mysql_hex_string() comment. libmysql/libmysql.c: Add note to mysql_hex_string() comment.
Diffstat (limited to 'libmysql')
-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