Commit 7ec7fbff authored by unknown's avatar unknown

Replaced a couple of strcasecmps.

parent 908c9d7a
...@@ -348,7 +348,7 @@ sp_cache_functions(THD *thd, LEX *lex) ...@@ -348,7 +348,7 @@ sp_cache_functions(THD *thd, LEX *lex)
while ((sp= lisp++)) while ((sp= lisp++))
{ {
if (strcasecmp(fn, sp->name()) == 0) if (my_strcasecmp(system_charset_info, fn, sp->name()) == 0)
break; break;
} }
if (sp) if (sp)
......
...@@ -358,7 +358,7 @@ sp_head::restore_lex(THD *thd) ...@@ -358,7 +358,7 @@ sp_head::restore_lex(THD *thd)
char **it; char **it;
while ((it= li++)) while ((it= li++))
if (strcasecmp(proc, *it) == 0) if (my_strcasecmp(system_charset_info, proc, *it) == 0)
break; break;
if (! it) if (! it)
m_calls.push_back(&proc); m_calls.push_back(&proc);
...@@ -380,7 +380,7 @@ sp_head::restore_lex(THD *thd) ...@@ -380,7 +380,7 @@ sp_head::restore_lex(THD *thd)
char **tb; char **tb;
while ((tb= li++)) while ((tb= li++))
if (strcasecmp(tables->real_name, *tb) == 0) if (my_strcasecmp(system_charset_info, tables->real_name, *tb) == 0)
break; break;
if (! tb) if (! tb)
m_tables.push_back(&tables->real_name); m_tables.push_back(&tables->real_name);
......
...@@ -120,7 +120,7 @@ sp_pcontext::find_label(char *name) ...@@ -120,7 +120,7 @@ sp_pcontext::find_label(char *name)
sp_label_t *lab; sp_label_t *lab;
while ((lab= li++)) while ((lab= li++))
if (strcasecmp(name, lab->name) == 0) if (my_strcasecmp(system_charset_info, name, lab->name) == 0)
return lab; return lab;
return NULL; return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment