mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
strto.c:
Fix for typos in system_charset_info strings/strto.c: Fix for typos in system_charset_info
This commit is contained in:
@ -124,7 +124,7 @@ function (const char *nptr,char **endptr,int base)
|
|||||||
{
|
{
|
||||||
if (*s == '0')
|
if (*s == '0')
|
||||||
{
|
{
|
||||||
if (my_toupper (system_charset_into, s[1]) == 'X')
|
if (my_toupper (system_charset_info, s[1]) == 'X')
|
||||||
{
|
{
|
||||||
s += 2;
|
s += 2;
|
||||||
base = 16;
|
base = 16;
|
||||||
@ -149,7 +149,7 @@ function (const char *nptr,char **endptr,int base)
|
|||||||
if (my_isdigit (system_charset_info, c))
|
if (my_isdigit (system_charset_info, c))
|
||||||
c -= '0';
|
c -= '0';
|
||||||
else if (my_isalpha (system_charset_info, c))
|
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
|
else
|
||||||
break;
|
break;
|
||||||
if (c >= base)
|
if (c >= base)
|
||||||
|
Reference in New Issue
Block a user