~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_locale.cc

  • Committer: Olaf van der Spek
  • Date: 2011-11-09 20:20:23 UTC
  • mto: This revision was merged to the branch mainline in revision 2457.
  • Revision ID: olafvdspek@gmail.com-20111109202023-df2axkpkey9qouze
Refactor

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]);