~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_locale.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:
2603
2603
  MY_LOCALE **locale;
2604
2604
  for (locale= my_locales; *locale != NULL; locale++)
2605
2605
  {
2606
 
    if (!my_strcasecmp(&my_charset_utf8_general_ci, (*locale)->name, name))
 
2606
    if (!my_charset_utf8_general_ci.strcasecmp((*locale)->name, name))
2607
2607
    {
2608
2608
      // Check that locale is on its correct position in the array
2609
2609
      assert((*locale) == my_locales[(*locale)->number]);