~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.cc

  • Committer: brian
  • Date: 2009-11-11 19:42:27 UTC
  • mfrom: (1211 staging)
  • mto: (1211.1.4 staging)
  • mto: This revision was merged to the branch mainline in revision 1212.
  • Revision ID: brian@orisndriz04-20091111194227-mky4am3ym0dlosaa
Update for Cursor renaming.

Show diffs side-by-side

added added

removed removed

Lines of Context:
696
696
 
697
697
    if (engine)
698
698
    {
699
 
      if ((file= engine->create(NULL, session.mem_root)))
 
699
      if ((file= engine->create(dummy_share, session.mem_root)))
700
700
        file->init();
701
701
    }
702
702
    memset(&dummy_table, 0, sizeof(dummy_table));
804
804
  return(error != 0);
805
805
}
806
806
 
807
 
Cursor *plugin::StorageEngine::getCursor(TableShare *share, MEM_ROOT *alloc)
 
807
Cursor *plugin::StorageEngine::getCursor(TableShare &share, MEM_ROOT *alloc)
808
808
{
809
809
  Cursor *file;
810
810