~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/internal/my_access.cc

  • Committer: Mark Atwood
  • Date: 2011-11-11 18:23:18 UTC
  • mfrom: (2456.1.5 rf)
  • Revision ID: me@mark.atwood.name-20111111182318-skgcp9ce65fd2goa
mergeĀ lp:~olafvdspek/drizzle/refactor11

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
*/
56
56
static int str_list_find(const char **list, const char *str)
57
57
{
58
 
  const char **name;
59
 
  for (name= list; *name; name++)
 
58
  for (const char** name= list; *name; name++)
60
59
  {
61
 
    if (!my_strcasecmp(&my_charset_utf8_general_ci, *name, str))
 
60
    if (!my_charset_utf8_general_ci.strcasecmp(*name, str))
62
61
      return 1;
63
62
  }
64
63
  return 0;