~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/schema.h

  • Committer: Brian Aker
  • Date: 2011-02-14 02:47:12 UTC
  • mto: (2170.1.1 alter-table)
  • mto: This revision was merged to the branch mainline in revision 2172.
  • Revision ID: brian@tangent.org-20110214024712-67qeo6249b0hzfcz
Merge in move of schema.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 */
19
19
 
20
20
 
21
 
#ifndef DRIZZLED_DB_H
22
 
#define DRIZZLED_DB_H
 
21
#ifndef DRIZZLED_SCHEMA_H
 
22
#define DRIZZLED_SCHEMA_H
23
23
 
24
24
namespace drizzled {
25
25
 
26
26
namespace message { class Schema; }
27
27
 
28
 
bool create_db(Session *session, const message::Schema &schema_message, const bool is_if_not_exists);
29
 
bool alter_db(Session *session, const message::Schema &schema_message, const message::schema::shared_ptr &original_schema);
30
 
bool rm_db(Session *session, identifier::Schema &identifier, const bool if_exists);
31
 
bool change_db(Session *session, identifier::Schema &identifier);
 
28
namespace schema {
 
29
 
 
30
bool create(Session *session, const message::Schema &schema_message, const bool is_if_not_exists);
 
31
bool alter(Session *session, const message::Schema &schema_message, const message::schema::shared_ptr &original_schema);
 
32
bool drop(Session *session, identifier::Schema &identifier, const bool if_exists);
 
33
bool change(Session *session, identifier::Schema &identifier);
 
34
 
 
35
}
32
36
 
33
37
} /* namespace drizzled */
34
38
 
35
 
#endif /* DRIZZLED_DB_H */
 
39
#endif /* DRIZZLED_SCHEMA_H */