~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/ha_heap.cc

Reverted changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
252
252
Cursor *ha_heap::clone(memory::Root *mem_root)
253
253
{
254
254
  Cursor *new_handler= table->getMutableShare()->db_type()->getCursor(*(table->getMutableShare()), mem_root);
 
255
  TableIdentifier identifier(table->getShare()->getSchemaName(),
 
256
                             table->getShare()->getTableName(),
 
257
                             table->getShare()->getPath());
255
258
 
256
 
  if (new_handler && !new_handler->ha_open(table, file->s->name, table->db_stat,
 
259
  if (new_handler && !new_handler->ha_open(identifier, table, file->s->name, table->db_stat,
257
260
                                           HA_OPEN_IGNORE_IF_LOCKED))
258
261
    return new_handler;
259
262
  return NULL;