Commit 56106b02 authored by unknown's avatar unknown

...and got rid of the strncasecmps too.

parent e9cc965a
...@@ -306,7 +306,7 @@ sp_add_fun_to_lex(LEX *lex, LEX_STRING fun) ...@@ -306,7 +306,7 @@ sp_add_fun_to_lex(LEX *lex, LEX_STRING fun)
while ((fn= li++)) while ((fn= li++))
{ {
if (strncasecmp(fn, fun.str, fun.length) == 0) if (my_strncasecmp(system_charset_info, fn, fun.str, fun.length) == 0)
break; break;
} }
if (! fn) if (! fn)
...@@ -384,7 +384,7 @@ sp_find_cached_function(THD *thd, char *name, uint namelen) ...@@ -384,7 +384,7 @@ sp_find_cached_function(THD *thd, char *name, uint namelen)
while ((sp= li++)) while ((sp= li++))
{ {
if (strncasecmp(name, sp->name(), namelen) == 0) if (my_strncasecmp(system_charset_info, name, sp->name(), namelen) == 0)
break; break;
} }
return sp; return sp;
......
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