~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Brian Aker
  • Date: 2009-05-27 21:11:30 UTC
  • mto: This revision was merged to the branch mainline in revision 1040.
  • Revision ID: brian@gaz-20090527211130-10yq3d5gee3pwl9w
Remove lower case filename bits (aka we just lock into the most compatible
method, which is what we have been doing).

Removed a number of dead function endings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1204
1204
    if (((! (res= find_table_in_global_list(table_list, d_name, t_name))) &&
1205
1205
         (! (res= mysql_lock_have_duplicate(session, table, table_list)))) ||
1206
1206
        ((!res->table || res->table != table->table) &&
1207
 
         (!check_alias || !(lower_case_table_names ?
1208
 
          my_strcasecmp(files_charset_info, t_alias, res->alias) :
1209
 
          strcmp(t_alias, res->alias))) &&
 
1207
         (!check_alias || !(my_strcasecmp(files_charset_info, t_alias, res->alias))) &&
1210
1208
         res->select_lex && !res->select_lex->exclude_from_table_unique_test))
1211
1209
      break;
1212
1210
    /*
4024
4022
    }
4025
4023
  }
4026
4024
 
4027
 
  if (db && lower_case_table_names)
 
4025
  if (db)
4028
4026
  {
4029
4027
    /*
4030
4028
      convert database to lower case for comparison.
5340
5338
  bool found;
5341
5339
  char name_buff[NAME_LEN+1];
5342
5340
 
5343
 
  if (db_name && lower_case_table_names)
 
5341
  if (db_name)
5344
5342
  {
5345
5343
    /*
5346
5344
      convert database to lower case for comparison