~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 21:51:11 UTC
  • Revision ID: brian@gaz-20100327215111-d93rvblau715pxfi
doCreateTable() was still taking a pointer instead of a session reference.

Show diffs side-by-side

added added

removed removed

Lines of Context:
282
282
  virtual const char **bas_ext() const =0;
283
283
 
284
284
protected:
285
 
  virtual int doCreateTable(Session *session,
286
 
                            Table& table_arg,
 
285
  virtual int doCreateTable(Session &session,
 
286
                            Table &table_arg,
287
287
                            TableIdentifier &identifier,
288
 
                            message::Table& proto)= 0;
 
288
                            message::Table &message)= 0;
289
289
 
290
290
  virtual int doRenameTable(Session &session,
291
291
                            TableIdentifier &from, TableIdentifier &to)= 0;
327
327
  static int dropTable(Session& session,
328
328
                       StorageEngine &engine,
329
329
                       TableIdentifier &identifier);
330
 
  static void getTableNames(const std::string& db_name, TableNameList &set_of_names);
 
330
  static void getTableNames(Session &session, const std::string& db_name, TableNameList &set_of_names);
331
331
 
332
332
  // Check to see if any SE objects to creation.
333
333
  static bool canCreateTable(drizzled::TableIdentifier &identifier);
335
335
  { (void)identifier;  return true; }
336
336
 
337
337
  // @note All schema methods defined here
338
 
  static void getSchemaNames(SchemaNameList &set_of_names);
 
338
  static void getSchemaNames(Session &session, SchemaNameList &set_of_names);
339
339
  static bool getSchemaDefinition(TableIdentifier &identifier, message::Schema &proto);
340
340
  static bool getSchemaDefinition(const std::string &schema_name, message::Schema &proto);
341
341
  static bool doesSchemaExist(const std::string &schema_name);