~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/lock.cc

  • Committer: Brian Aker
  • Date: 2009-05-14 20:07:56 UTC
  • Revision ID: brian@gaz-20090514200756-3n2gijegyd3o03qu
Remove the need for TMP_TABLE_KEY_EXTRA (we don't replicate temp tables).

Show diffs side-by-side

added added

removed removed

Lines of Context:
888
888
  bool  found_locked_table= false;
889
889
  HASH_SEARCH_STATE state;
890
890
 
891
 
  key_length= create_table_def_key(session, key, table_list, 0);
 
891
  key_length= create_table_def_key(key, table_list);
892
892
 
893
893
  if (check_in_use)
894
894
  {
1088
1088
  char  key[MAX_DBKEY_LENGTH];
1089
1089
  uint32_t  key_length;
1090
1090
 
1091
 
  key_length= create_table_def_key(session, key, table_list, 0);
 
1091
  key_length= create_table_def_key(key, table_list);
1092
1092
 
1093
1093
  return is_table_name_exclusively_locked_by_this_thread(session, (unsigned char *)key,
1094
1094
                                                         key_length);