~posulliv/drizzle/optimizer-style-cleanup

« back to all changes in this revision

Viewing changes to drizzled/db.h

  • Committer: Padraig O'Sullivan
  • Date: 2010-03-15 14:05:26 UTC
  • mfrom: (1237.9.99 staging)
  • Revision ID: osullivan.padraig@gmail.com-20100315140526-opbgwdwn6tfecdkq
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLED_DB_H
22
22
#define DRIZZLED_DB_H
23
23
 
24
 
#define DRIZZLE_DATA_DICTIONARY "data_dictionary"
25
 
 
26
24
namespace drizzled {
27
25
 
28
26
namespace message { class Schema; }
29
27
 
30
 
bool mysql_create_db(Session *session, const char *db, message::Schema *schema_message, bool is_if_not_exists);
31
 
bool mysql_alter_db(Session *session, const char *db, message::Schema *schema_message);
32
 
bool mysql_rm_db(Session *session, char *db, bool if_exists);
33
 
bool mysql_change_db(Session *session, const LEX_STRING *new_db_name, bool force_switch);
34
 
 
35
 
bool check_db_dir_existence(const char *db_name);
36
 
int get_database_metadata(const std::string &dbname, message::Schema &db);
37
 
 
38
 
const CHARSET_INFO *get_default_db_collation(const char *db_name);
 
28
bool mysql_create_db(Session *session, const message::Schema &schema_message, const bool is_if_not_exists);
 
29
bool mysql_alter_db(Session *session, const message::Schema &schema_message);
 
30
bool mysql_rm_db(Session *session, const std::string &schema_name, const bool if_exists);
 
31
bool mysql_change_db(Session *session, const std::string &new_db_name);
39
32
 
40
33
} /* namespace drizzled */
41
34