~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.h

  • Committer: Joseph Daly
  • Date: 2010-10-24 03:19:07 UTC
  • mto: (1856.2.16 transaction_id_innodb)
  • mto: This revision was merged to the branch mainline in revision 1900.
  • Revision ID: skinny.moey@gmail.com-20101024031907-cnkdjmjycx62jsv0
create schema changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
332
332
  static bool getSchemaDefinition(const drizzled::SchemaIdentifier &identifier, message::SchemaPtr &proto);
333
333
  static bool doesSchemaExist(const drizzled::SchemaIdentifier &identifier);
334
334
  static const CHARSET_INFO *getSchemaCollation(const drizzled::SchemaIdentifier &identifier);
335
 
  static bool createSchema(const drizzled::message::Schema &schema_message);
 
335
  static bool createSchema(const drizzled::message::Schema &schema_message, drizzled::Session &session);
336
336
  static bool dropSchema(const drizzled::SchemaIdentifier &identifier);
337
337
  static bool alterSchema(const drizzled::message::Schema &schema_message);
338
338
 
345
345
    return false; 
346
346
  }
347
347
 
348
 
  virtual bool doCreateSchema(const drizzled::message::Schema&)
349
 
  { return false; }
 
348
  virtual bool doCreateSchema(const drizzled::message::Schema&, Session &session)
 
349
  {
 
350
    (void)session;
 
351
    return false;
 
352
  }
350
353
 
351
354
  virtual bool doAlterSchema(const drizzled::message::Schema&)
352
355
  { return false; }