~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_locale.cc

  • Committer: Monty Taylor
  • Date: 2008-09-13 20:24:20 UTC
  • mfrom: (383.1.35 drizzle)
  • Revision ID: monty@inaugust.com-20080913202420-lkj76ewbabl8ljvp
MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2598
2598
  MY_LOCALE **locale;
2599
2599
  for (locale= my_locales; *locale != NULL; locale++) 
2600
2600
  {
2601
 
    if (!my_strcasecmp(&my_charset_latin1, (*locale)->name, name))
 
2601
    if (!my_strcasecmp(&my_charset_utf8_general_ci, (*locale)->name, name))
2602
2602
    {
2603
2603
      // Check that locale is on its correct position in the array
2604
2604
      assert((*locale) == my_locales[(*locale)->number]);