~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_engine/schema.h

  • Committer: Brian Aker
  • Date: 2010-06-29 21:22:35 UTC
  • Revision ID: brian@gaz-20100629212235-egrke8446lndm2iz
This adds const to SchemaIdentifier.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
class Schema : public drizzled::plugin::StorageEngine
38
38
{
39
 
  bool writeSchemaFile(drizzled::SchemaIdentifier &schema_identifier, const drizzled::message::Schema &db);
 
39
  bool writeSchemaFile(const drizzled::SchemaIdentifier &schema_identifier, const drizzled::message::Schema &db);
40
40
  bool readSchemaFile(const std::string &schema_file_name, drizzled::message::Schema &schema);
41
41
 
42
42
  void prime();
62
62
  }
63
63
 
64
64
  void doGetSchemaIdentifiers(drizzled::SchemaIdentifierList &set_of_names);
65
 
  bool doGetSchemaDefinition(drizzled::SchemaIdentifier&, drizzled::message::Schema &proto);
 
65
  bool doGetSchemaDefinition(const drizzled::SchemaIdentifier&, drizzled::message::Schema &proto);
66
66
 
67
67
  bool doCreateSchema(const drizzled::message::Schema &schema_message);
68
68
 
69
69
  bool doAlterSchema(const drizzled::message::Schema &schema_message);
70
70
 
71
 
  bool doDropSchema(drizzled::SchemaIdentifier&);
 
71
  bool doDropSchema(const drizzled::SchemaIdentifier&);
72
72
 
73
73
  // Below are table methods that we don't implement (and don't need)
74
74
 
81
81
 
82
82
 
83
83
  void doGetTableNames(drizzled::CachedDirectory&,
84
 
                       drizzled::SchemaIdentifier&,
 
84
                       const drizzled::SchemaIdentifier&,
85
85
                       std::set<std::string>&)
86
86
  {
87
87
  }
120
120
                          uint64_t *)
121
121
  {}
122
122
  void doGetTableIdentifiers(drizzled::CachedDirectory &directory,
123
 
                             drizzled::SchemaIdentifier &schema_identifier,
 
123
                             const drizzled::SchemaIdentifier &schema_identifier,
124
124
                             drizzled::TableIdentifiers &set_of_identifiers);
125
125
};
126
126