~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_handler.cc

Much closer toward UTF8 being around all the time...

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
    for (tables= first; tables; tables= tables->next_local)
175
175
    {
176
176
      if ((! *tables->db ||
177
 
          ! my_strcasecmp(&my_charset_latin1, hash_tables->db, tables->db)) &&
178
 
          ! my_strcasecmp(&my_charset_latin1, hash_tables->table_name,
 
177
          ! my_strcasecmp(&my_charset_utf8_general_ci, hash_tables->db, tables->db)) &&
 
178
          ! my_strcasecmp(&my_charset_utf8_general_ci, hash_tables->table_name,
179
179
                          tables->table_name))
180
180
        break;
181
181
    }