Replaced a couple of strcasecmps.

This commit is contained in:
pem@mysql.com 2003-03-27 17:35:27 +01:00
parent c77699ca93
commit ac44a5f66e
3 changed files with 4 additions and 4 deletions

View file

@ -348,7 +348,7 @@ sp_cache_functions(THD *thd, LEX *lex)
while ((sp= lisp++))
{
if (strcasecmp(fn, sp->name()) == 0)
if (my_strcasecmp(system_charset_info, fn, sp->name()) == 0)
break;
}
if (sp)

View file

@ -358,7 +358,7 @@ sp_head::restore_lex(THD *thd)
char **it;
while ((it= li++))
if (strcasecmp(proc, *it) == 0)
if (my_strcasecmp(system_charset_info, proc, *it) == 0)
break;
if (! it)
m_calls.push_back(&proc);
@ -380,7 +380,7 @@ sp_head::restore_lex(THD *thd)
char **tb;
while ((tb= li++))
if (strcasecmp(tables->real_name, *tb) == 0)
if (my_strcasecmp(system_charset_info, tables->real_name, *tb) == 0)
break;
if (! tb)
m_tables.push_back(&tables->real_name);

View file

@ -120,7 +120,7 @@ sp_pcontext::find_label(char *name)
sp_label_t *lab;
while ((lab= li++))
if (strcasecmp(name, lab->name) == 0)
if (my_strcasecmp(system_charset_info, name, lab->name) == 0)
return lab;
return NULL;