~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/archive_engine.h

  • Committer: Stewart Smith
  • Date: 2010-03-15 04:42:26 UTC
  • mto: (1283.38.1)
  • mto: This revision was merged to the branch mainline in revision 1475.
  • Revision ID: stewart@flamingspork.com-20100315044226-q74o953r9h98brm4
basic embedded innodb DATA_DICTIONARY.INNODB_CONFIGURATION test

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
  ArchiveMap archive_open_tables;
63
63
 
64
64
public:
65
 
  ArchiveEngine() :
66
 
    drizzled::plugin::StorageEngine("ARCHIVE",
67
 
                                    drizzled::HTON_FILE_BASED |
68
 
                                    drizzled::HTON_STATS_RECORDS_IS_EXACT |
69
 
                                    drizzled::HTON_HAS_RECORDS |
70
 
                                    drizzled::HTON_HAS_DATA_DICTIONARY),
71
 
    archive_open_tables()
 
65
  ArchiveEngine()
 
66
   : drizzled::plugin::StorageEngine("ARCHIVE",
 
67
                                     drizzled::HTON_FILE_BASED |
 
68
                                     drizzled::HTON_STATS_RECORDS_IS_EXACT |
 
69
                                     drizzled::HTON_HAS_RECORDS |
 
70
                                     drizzled::HTON_HAS_DATA_DICTIONARY),
 
71
     archive_open_tables()
72
72
  {
73
73
    table_definition_ext= ARZ;
74
74
  }
83
83
    return ha_archive_exts;
84
84
  }
85
85
 
86
 
  int doCreateTable(drizzled::Session *session,
 
86
  int doCreateTable(drizzled::Session *session, const char *table_name,
87
87
                    drizzled::Table& table_arg,
88
 
                    drizzled::TableIdentifier &identifier,
89
88
                    drizzled::message::Table& proto);
90
89
 
91
90
  int doGetTableDefinition(drizzled::Session& session,
92
 
                           drizzled::TableIdentifier &identifier,
93
 
                           drizzled::message::Table &table_message);
 
91
                           const char* path,
 
92
                           const char *db,
 
93
                           const char *table_name,
 
94
                           const bool is_tmp,
 
95
                           drizzled::message::Table *table_proto);
94
96
 
95
97
  void doGetTableNames(drizzled::CachedDirectory &directory, std::string& , std::set<std::string>& set_of_names);
96
98
 
97
 
  int doDropTable(drizzled::Session&, drizzled::TableIdentifier &identifier);
98
 
 
 
99
  int doDropTable(drizzled::Session&, const std::string &table_path);
99
100
  ArchiveShare *findOpenTable(const std::string table_name);
100
101
  void addOpenTable(const std::string &table_name, ArchiveShare *);
101
102
  void deleteOpenTable(const std::string &table_name);
108
109
  {
109
110
    return HA_ONLY_WHOLE_INDEX;
110
111
  }
111
 
 
112
 
  bool doDoesTableExist(drizzled::Session&, drizzled::TableIdentifier &identifier);
113
 
  int doRenameTable(drizzled::Session&, drizzled::TableIdentifier &from, drizzled::TableIdentifier &to);
114
112
};
115
113
 
116
114
#endif /* PLUGIN_ARCHIVE_ARCHIVE_ENGINE_H */