mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
system_charset_info has been moved to /sql directory
and isn't used in libraries any longer
This commit is contained in:
@@ -175,9 +175,9 @@ trace dump and specify the path to it with -s or --symbols-file");
|
||||
static uchar hex_val(char c)
|
||||
{
|
||||
uchar l;
|
||||
if (my_isdigit(system_charset_info,c))
|
||||
if (my_isdigit(&my_charset_latin1,c))
|
||||
return c - '0';
|
||||
l = my_tolower(system_charset_info,c);
|
||||
l = my_tolower(&my_charset_latin1,c);
|
||||
if (l < 'a' || l > 'f')
|
||||
return HEX_INVALID;
|
||||
return (uchar)10 + ((uchar)c - (uchar)'a');
|
||||
@@ -203,10 +203,10 @@ static int init_sym_entry(SYM_ENTRY* se, char* buf)
|
||||
|
||||
if (!se->addr)
|
||||
return -1;
|
||||
while (my_isspace(system_charset_info,*buf++))
|
||||
while (my_isspace(&my_charset_latin1,*buf++))
|
||||
/* empty */;
|
||||
|
||||
while (my_isspace(system_charset_info,*buf++))
|
||||
while (my_isspace(&my_charset_latin1,*buf++))
|
||||
/* empty - skip more space */;
|
||||
--buf;
|
||||
/* now we are on the symbol */
|
||||
@@ -288,7 +288,7 @@ static void do_resolve()
|
||||
{
|
||||
p = buf;
|
||||
/* skip space */
|
||||
while (my_isspace(system_charset_info,*p))
|
||||
while (my_isspace(&my_charset_latin1,*p))
|
||||
++p;
|
||||
|
||||
if (*p++ == '0' && *p++ == 'x')
|
||||
|
Reference in New Issue
Block a user