~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_table.h

  • Committer: Jay Pipes
  • Date: 2010-04-23 17:43:11 UTC
  • mto: This revision was merged to the branch mainline in revision 1524.
  • Revision ID: jpipes@serialcoder-20100423174311-ze5sq5nrbb7km2po
ha_rnd_init -> startTableScan, rnd_init -> doStartTableScan, ha_rnd_end -> endTableScan, rnd_end -> doEndTableScan

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
class TableList;
36
36
typedef struct st_ha_check_opt HA_CHECK_OPT;
37
37
class Table;
 
38
typedef struct st_key KEY;
38
39
typedef struct st_ha_create_information HA_CREATE_INFO;
39
40
class AlterInfo;
40
41
class Cursor;
44
45
 
45
46
int mysql_rm_table_part2(Session *session, TableList *tables, bool if_exists,
46
47
                         bool drop_temporary);
 
48
void write_bin_log_drop_table(Session *session,
 
49
                              bool if_exists, const char *db_name,
 
50
                              const char *table_name);
 
51
bool quick_rm_table(Session& session,
 
52
                    TableIdentifier &identifier);
47
53
void close_cached_table(Session *session, Table *table);
48
54
 
49
55
void wait_while_table_is_used(Session *session, Table *table,
56
62
bool mysql_optimize_table(Session* session, TableList* table_list,
57
63
                          HA_CHECK_OPT* check_opt);
58
64
 
59
 
void write_bin_log(Session *session, const std::string &query);
 
65
void write_bin_log(Session *session,
 
66
                   char const *query);
60
67
 
61
 
bool is_primary_key(KeyInfo *key_info);
 
68
bool is_primary_key(KEY *key_info);
62
69
const char* is_primary_key_name(const char* key_name);
63
70
bool check_engine(Session *, const char *, message::Table *, HA_CREATE_INFO *);
64
71
void set_table_default_charset(HA_CREATE_INFO *create_info, const char *db);