~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/strfunc.cc

  • Committer: Olaf van der Spek
  • Date: 2011-10-24 11:55:49 UTC
  • mto: This revision was merged to the branch mainline in revision 2447.
  • Revision ID: olafvdspek@gmail.com-20111024115549-kimvi1pifyg57ghx
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
  const char* end= find + length;
44
44
  const char* i;
45
45
  const char* j;
46
 
  for (uint32_t pos= 0 ; (j= type_names[pos++]) ; )
 
46
  for (uint32_t pos= 0 ; (j= type_names[pos++]); )
47
47
  {
48
 
    for (i= find ; i != end && my_toupper(system_charset_info, *i) == my_toupper(system_charset_info, *j); i++, j++) 
 
48
    for (i= find ; i != end && system_charset_info->toupper(*i) == system_charset_info->toupper(*j); i++, j++) 
49
49
    {
50
50
    }
51
51
    if (i == end)