diff options
author | paul@ice.snake.net <> | 2004-10-19 07:44:20 -0500 |
---|---|---|
committer | paul@ice.snake.net <> | 2004-10-19 07:44:20 -0500 |
commit | 462aed6c991fe5645759b40fb25f83826d76e50d (patch) | |
tree | e6e23c8643248654c35ef4750c1702e3cf2eb98c /libmysql | |
parent | c01c8f99ea16fb2029efade30b8bf18ae314c03a (diff) | |
download | mariadb-git-462aed6c991fe5645759b40fb25f83826d76e50d.tar.gz |
libmysql.c:
Add note to mysql_hex_string() comment.
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/libmysql.c | 3 |
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 |