1
0
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:
unknown
2003-03-16 12:30:10 +04:00
parent 2aa9f20735
commit 23f252855e
14 changed files with 43 additions and 41 deletions

View File

@@ -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')