~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.h

  • Committer: Monty Taylor
  • Date: 2010-11-25 01:53:19 UTC
  • mto: (1953.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1955.
  • Revision ID: mordred@inaugust.com-20101125015319-ia85msn25uemopgc
Re-enabled -Wformat and then cleaned up the carnage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
288
288
 
289
289
  virtual void doGetTableIdentifiers(CachedDirectory &directory,
290
290
                                     const drizzled::SchemaIdentifier &schema_identifier,
291
 
                                     TableIdentifier::vector &set_of_identifiers)= 0;
 
291
                                     TableIdentifiers &set_of_identifiers)= 0;
292
292
 
293
293
  virtual int doDropTable(Session &session,
294
294
                          const drizzled::TableIdentifier &identifier)= 0;
320
320
                       const drizzled::TableIdentifier &identifier);
321
321
  static void getIdentifiers(Session &session,
322
322
                             const SchemaIdentifier &schema_identifier,
323
 
                             TableIdentifier::vector &set_of_identifiers);
 
323
                             TableIdentifiers &set_of_identifiers);
324
324
 
325
325
  // Check to see if any SE objects to creation.
326
326
  static bool canCreateTable(const drizzled::TableIdentifier &identifier);
328
328
  { (void)identifier;  return true; }
329
329
 
330
330
  // @note All schema methods defined here
331
 
  static void getIdentifiers(Session &session, SchemaIdentifier::vector &schemas);
332
 
  static bool getSchemaDefinition(const drizzled::TableIdentifier &identifier, message::schema::shared_ptr &proto);
333
 
  static bool getSchemaDefinition(const drizzled::SchemaIdentifier &identifier, message::schema::shared_ptr &proto);
 
331
  static void getIdentifiers(Session &session, SchemaIdentifiers &schemas);
 
332
  static bool getSchemaDefinition(const drizzled::TableIdentifier &identifier, message::SchemaPtr &proto);
 
333
  static bool getSchemaDefinition(const drizzled::SchemaIdentifier &identifier, message::SchemaPtr &proto);
334
334
  static bool doesSchemaExist(const drizzled::SchemaIdentifier &identifier);
335
335
  static const CHARSET_INFO *getSchemaCollation(const drizzled::SchemaIdentifier &identifier);
336
336
  static bool createSchema(const drizzled::message::Schema &schema_message);
338
338
  static bool alterSchema(const drizzled::message::Schema &schema_message);
339
339
 
340
340
  // @note make private/protected
341
 
  virtual void doGetSchemaIdentifiers(SchemaIdentifier::vector&)
 
341
  virtual void doGetSchemaIdentifiers(SchemaIdentifiers&)
342
342
  { }
343
343
 
344
 
  virtual bool doGetSchemaDefinition(const drizzled::SchemaIdentifier&, drizzled::message::schema::shared_ptr&)
 
344
  virtual bool doGetSchemaDefinition(const drizzled::SchemaIdentifier&, drizzled::message::SchemaPtr&)
345
345
  { 
346
346
    return false; 
347
347
  }