~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.h

  • Committer: Brian Aker
  • Date: 2009-11-26 18:50:02 UTC
  • mfrom: (1226.1.4 push)
  • Revision ID: brian@gaz-20091126185002-se908a2ceq9ub2rn
Mege of TableIdentifier gran patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
338
338
  static void removePlugin(plugin::StorageEngine *engine);
339
339
 
340
340
  static int getTableDefinition(Session& session,
341
 
                                const char* path, 
 
341
                                TableIdentifier &identifier,
 
342
                                message::Table *table_proto= NULL);
 
343
  static int getTableDefinition(Session& session,
 
344
                                const char* path,
342
345
                                const char *db,
343
346
                                const char *table_name,
344
347
                                const bool is_tmp,
354
357
  static bool flushLogs(plugin::StorageEngine *db_type);
355
358
  static int recover(HASH *commit_list);
356
359
  static int startConsistentSnapshot(Session *session);
357
 
  static int dropTable(Session& session, const char *path, const char *db,
358
 
                       const char *alias, bool generate_warning);
 
360
  static int dropTable(Session& session,
 
361
                       drizzled::TableIdentifier &identifier,
 
362
                       bool generate_warning);
359
363
  static void getTableNames(std::string& db_name, std::set<std::string> &set_of_names);
360
364
 
361
365
  static inline const std::string &resolveName(const StorageEngine *engine)
363
367
    return engine == NULL ? UNKNOWN_STRING : engine->getName();
364
368
  }
365
369
 
366
 
  static int createTable(Session& session, const char *path,
367
 
                         const char *db, const char *table_name,
 
370
  static int createTable(Session& session,
 
371
                         drizzled::TableIdentifier &identifier,
368
372
                         bool update_create_info,
369
373
                         drizzled::message::Table& table_proto,
370
374
                         bool used= true);