~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/lock.cc

  • Committer: Brian Aker
  • Date: 2010-10-24 01:34:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1875.
  • Revision ID: brian@tangent.org-20101024013439-w9r8qtmt5ihnqtkd
Encapsulate table_name from table_list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
683
683
static int lock_table_name(Session *session, TableList *table_list, bool check_in_use)
684
684
{
685
685
  bool  found_locked_table= false;
686
 
  TableIdentifier identifier(table_list->getSchemaName(), table_list->table_name);
 
686
  TableIdentifier identifier(table_list->getSchemaName(), table_list->getTableName());
687
687
  const TableIdentifier::Key &key(identifier.getKey());
688
688
 
689
689
  if (check_in_use)