~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.cc

  • Committer: Brian Aker
  • Date: 2009-11-11 21:40:59 UTC
  • mfrom: (1208.3.3 reference)
  • mto: This revision was merged to the branch mainline in revision 1212.
  • Revision ID: brian@gaz-20091111214059-0xfxkwrrixpx2jd9
Update for cursor name change.

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