~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:44:25 UTC
  • mfrom: (1874.1.2 catalogs)
  • Revision ID: brian@tangent.org-20101024014425-exsst7015tqgbw7x
TableĀ encapsulateĀ merge.

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->db, 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)