~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/locking/global.cc

updating

Show diffs side-by-side

added added

removed removed

Lines of Context:
616
616
 
617
617
int Session::lock_table_name(TableList *table_list)
618
618
{
619
 
  TableIdentifier identifier(table_list->getSchemaName(), table_list->getTableName());
620
 
  const TableIdentifier::Key &key(identifier.getKey());
 
619
  identifier::Table identifier(table_list->getSchemaName(), table_list->getTableName());
 
620
  const identifier::Table::Key &key(identifier.getKey());
621
621
 
622
622
  {
623
623
    /* Only insert the table if we haven't insert it already */
1037
1037
    if (getKilled())
1038
1038
      result=1;
1039
1039
  }
 
1040
 
1040
1041
  if (not abort_on_refresh && not result)
1041
1042
    protect_against_global_read_lock++;
1042
1043