summaryrefslogtreecommitdiff
path: root/libmysql/libmysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmysql/libmysql.c')
-rw-r--r--libmysql/libmysql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index fb405a7b868..9b97c52acec 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -1570,8 +1570,8 @@ ulong mysql_hex_string(char *to, const char *from, ulong length)
for (end= from + length; from < end; from++)
{
- *to++= _dig_vec[((unsigned char) *from) >> 4];
- *to++= _dig_vec[((unsigned char) *from) & 0x0F];
+ *to++= _dig_vec_upper[((unsigned char) *from) >> 4];
+ *to++= _dig_vec_upper[((unsigned char) *from) & 0x0F];
}
*to= '\0';
return (ulong) (to-to0);