~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.cc

  • Committer: Brian Aker
  • Date: 2009-04-28 21:46:57 UTC
  • mto: This revision was merged to the branch mainline in revision 1001.
  • Revision ID: brian@gaz-20090428214657-8vxn7n9dc6epb3zy
Renamed TABLE_SHARE to TableShare

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
}
127
127
 
128
128
 
129
 
handler *get_new_handler(TABLE_SHARE *share, MEM_ROOT *alloc,
 
129
handler *get_new_handler(TableShare *share, MEM_ROOT *alloc,
130
130
                         StorageEngine *engine)
131
131
{
132
132
  handler *file;
581
581
int ha_delete_table(Session *session, const char *path,
582
582
                    const char *db, const char *alias, bool generate_warning)
583
583
{
584
 
  TABLE_SHARE dummy_share;
 
584
  TableShare dummy_share;
585
585
  Table dummy_table;
586
586
  memset(&dummy_table, 0, sizeof(dummy_table));
587
587
  memset(&dummy_share, 0, sizeof(dummy_share));
657
657
  Table table;
658
658
  char name_buff[FN_REFLEN];
659
659
  const char *name;
660
 
  TABLE_SHARE share;
 
660
  TableShare share;
661
661
 
662
662
  init_tmp_table_share(&share, db, 0, table_name, path);
663
663
  if (open_table_def(session, &share, 0) ||