~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_engine/schema.h

  • Committer: Andrew Hutchings
  • Date: 2010-11-09 13:38:01 UTC
  • mto: (1919.1.2 trunk)
  • mto: This revision was merged to the branch mainline in revision 1920.
  • Revision ID: andrew@linuxjedi.co.uk-20101109133801-byjzsao76346395x
Add FLUSH GLOBAL STATUS; command
Clears the global status variables for the server

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
  void prime();
41
41
 
42
 
  typedef boost::unordered_map<std::string, drizzled::message::schema::shared_ptr> SchemaCache;
 
42
  typedef boost::unordered_map<std::string, drizzled::message::SchemaPtr> SchemaCache;
43
43
  SchemaCache schema_cache;
44
44
  bool schema_cache_filled;
45
45
 
51
51
  ~Schema();
52
52
 
53
53
 
 
54
  bool doCanCreateTable(const drizzled::TableIdentifier &identifier);
 
55
 
54
56
  drizzled::Cursor *create(drizzled::Table &)
55
57
  {
56
58
    return NULL;
57
59
  }
58
60
 
59
 
  void doGetSchemaIdentifiers(drizzled::SchemaIdentifier::vector &set_of_names);
60
 
  bool doGetSchemaDefinition(const drizzled::SchemaIdentifier&, drizzled::message::schema::shared_ptr &proto);
 
61
  void doGetSchemaIdentifiers(drizzled::SchemaIdentifiers &set_of_names);
 
62
  bool doGetSchemaDefinition(const drizzled::SchemaIdentifier&, drizzled::message::SchemaPtr &proto);
61
63
 
62
64
  bool doCreateSchema(const drizzled::message::Schema &schema_message);
63
65
 
109
111
  {}
110
112
  void doGetTableIdentifiers(drizzled::CachedDirectory &directory,
111
113
                             const drizzled::SchemaIdentifier &schema_identifier,
112
 
                             drizzled::TableIdentifier::vector &set_of_identifiers);
 
114
                             drizzled::TableIdentifiers &set_of_identifiers);
113
115
};
114
116
 
115
117
#endif /* PLUGIN_SCHEMA_ENGINE_SCHEMA_H */