~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.h

  • Committer: Brian Aker
  • Date: 2010-02-25 07:52:23 UTC
  • mto: (1273.13.101 build)
  • mto: This revision was merged to the branch mainline in revision 1309.
  • Revision ID: brian@gaz-20100225075223-125dkr0n8kpmobkj
Fix dropSchema().

Show diffs side-by-side

added added

removed removed

Lines of Context:
350
350
  static bool doesSchemaExist(const std::string &schema_name);
351
351
  static const CHARSET_INFO *getSchemaCollation(const std::string &schema_name);
352
352
  static bool createSchema(const drizzled::message::Schema &schema_message);
 
353
  static bool dropSchema(const std::string &schema_name);
353
354
  static bool alterSchema(const drizzled::message::Schema &schema_message);
354
355
 
355
356
  // @note make private/protected
370
371
  virtual bool doAlterSchema(const drizzled::message::Schema &schema_message)
371
372
  { (void)schema_message; return false; }
372
373
 
 
374
  virtual bool doDropSchema(const std::string &schema_name)
 
375
  { (void)schema_name; return false; }
 
376
 
373
377
  static inline const std::string &resolveName(const StorageEngine *engine)
374
378
  {
375
379
    return engine == NULL ? UNKNOWN_STRING : engine->getName();