~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/db.h

Merge Monty - Added inter-plugin dependencies for controlling plugin load order

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 */
19
19
 
20
20
 
21
 
#pragma once
 
21
#ifndef DRIZZLED_DB_H
 
22
#define DRIZZLED_DB_H
22
23
 
23
24
namespace drizzled {
24
 
namespace schema {
25
 
 
26
 
bool create(Session&, const message::Schema&, bool is_if_not_exists);
27
 
bool alter(Session&, const message::Schema&, const message::Schema &original_schema);
28
 
bool drop(Session&, const identifier::Schema&, bool if_exists);
29
 
bool change(Session&, const identifier::Schema&);
30
 
bool check(Session&, const identifier::Schema&);
31
 
 
32
 
}
 
25
 
 
26
namespace message { class Schema; }
 
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);
33
32
 
34
33
} /* namespace drizzled */
35
34
 
 
35
#endif /* DRIZZLED_DB_H */