~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.cc

  • Committer: Vijay Samuel
  • Date: 2010-06-25 13:44:52 UTC
  • mto: This revision was merged to the branch mainline in revision 1641.
  • Revision ID: vijay@vijay-20100625134452-m99chn57utvz83x9
Merge encapsulate TableList-1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
  {
184
184
    TableIdentifier identifier(table->db, table->table_name);
185
185
    TableShare *share;
186
 
    table->db_type= NULL;
 
186
    table->setDbType(NULL);
187
187
 
188
188
    if ((share= TableShare::getShare(identifier)))
189
189
    {
190
 
      table->db_type= share->db_type();
 
190
      table->setDbType(share->db_type());
191
191
    }
192
192
  }
193
193
 
239
239
        goto err_with_placeholders;
240
240
      }
241
241
    }
242
 
    TableIdentifier identifier(db, table->table_name, table->internal_tmp_table ? message::Table::INTERNAL : message::Table::STANDARD);
 
242
    TableIdentifier identifier(db, table->table_name, table->getInternalTmpTable() ? message::Table::INTERNAL : message::Table::STANDARD);
243
243
 
244
244
    if (drop_temporary || not plugin::StorageEngine::doesTableExist(*session, identifier))
245
245
    {