~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.h

  • Committer: Brian Aker
  • Date: 2010-03-27 04:12:14 UTC
  • mfrom: (1395.1.18 build)
  • Revision ID: brian@gaz-20100327041214-2pm5eay51312xjvq
Merge (fixes known issues in ALTER TABLE not resetting correctly DFE).

Show diffs side-by-side

added added

removed removed

Lines of Context:
324
324
  static bool flushLogs(plugin::StorageEngine *db_type);
325
325
  static int dropTable(Session& session,
326
326
                       TableIdentifier &identifier);
 
327
  static int dropTable(Session& session,
 
328
                       StorageEngine &engine,
 
329
                       TableIdentifier &identifier);
327
330
  static void getTableNames(const std::string& db_name, TableNameList &set_of_names);
328
331
 
329
332
  // Check to see if any SE objects to creation.
333
336
 
334
337
  // @note All schema methods defined here
335
338
  static void getSchemaNames(SchemaNameList &set_of_names);
 
339
  static bool getSchemaDefinition(TableIdentifier &identifier, message::Schema &proto);
336
340
  static bool getSchemaDefinition(const std::string &schema_name, message::Schema &proto);
337
341
  static bool doesSchemaExist(const std::string &schema_name);
 
342
  static bool doesSchemaExist(TableIdentifier &identifier);
338
343
  static const CHARSET_INFO *getSchemaCollation(const std::string &schema_name);
339
344
  static bool createSchema(const drizzled::message::Schema &schema_message);
340
345
  static bool dropSchema(const std::string &schema_name);
397
402
  static int deleteDefinitionFromPath(TableIdentifier &identifier);
398
403
  static int renameDefinitionFromPath(TableIdentifier &dest, TableIdentifier &src);
399
404
  static int writeDefinitionFromPath(TableIdentifier &identifier, message::Table &proto);
 
405
  static bool readTableFile(const std::string &path, message::Table &table_message);
400
406
 
401
407
public:
402
408
  /*