diff options
author | unknown <bar@gw.udmsearch.izhnet.ru> | 2002-06-10 16:17:49 +0500 |
---|---|---|
committer | unknown <bar@gw.udmsearch.izhnet.ru> | 2002-06-10 16:17:49 +0500 |
commit | aecb6fe0ada83bc5cb11e11636c15329fb43d1e1 (patch) | |
tree | b65f4d05b61f5b1b985734956bc4afeee7784104 /strings/strto.c | |
parent | 454712d20e89b34e2c45973f3d601f4720c3e471 (diff) | |
download | mariadb-git-aecb6fe0ada83bc5cb11e11636c15329fb43d1e1.tar.gz |
strto.c:
Fix for typos in system_charset_info
strings/strto.c:
Fix for typos in system_charset_info
Diffstat (limited to 'strings/strto.c')
-rw-r--r-- | strings/strto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/strings/strto.c b/strings/strto.c index 9af101296a3..cd70616d294 100644 --- a/strings/strto.c +++ b/strings/strto.c @@ -124,7 +124,7 @@ function (const char *nptr,char **endptr,int base) { if (*s == '0') { - if (my_toupper (system_charset_into, s[1]) == 'X') + if (my_toupper (system_charset_info, s[1]) == 'X') { s += 2; base = 16; @@ -149,7 +149,7 @@ function (const char *nptr,char **endptr,int base) if (my_isdigit (system_charset_info, c)) c -= '0'; else if (my_isalpha (system_charset_info, c)) - c = my_toupper (system_charset_into, c) - 'A' + 10; + c = my_toupper (system_charset_info, c) - 'A' + 10; else break; if (c >= base) |