~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

Reverted changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1568
1568
bool Table::open_tmp_table()
1569
1569
{
1570
1570
  int error;
1571
 
  if ((error=cursor->ha_open(this, s->getTableName(),O_RDWR,
 
1571
  
 
1572
  TableIdentifier identifier(s->getSchemaName(), s->getTableName(), s->getPath());
 
1573
  if ((error=cursor->ha_open(identifier,
 
1574
                             this,
 
1575
                             s->getTableName(),
 
1576
                             O_RDWR,
1572
1577
                             HA_OPEN_TMP_TABLE | HA_OPEN_INTERNAL_TABLE)))
1573
1578
  {
1574
1579
    print_error(error, MYF(0));