~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_repl.h

  • Committer: Brian Aker
  • Date: 2008-10-20 04:28:21 UTC
  • mto: (492.3.21 drizzle-clean-code)
  • mto: This revision was merged to the branch mainline in revision 530.
  • Revision ID: brian@tangent.org-20081020042821-rqqdrccuu8195k3y
Second pass of thd cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
  char user[USERNAME_LENGTH+1];
30
30
  char password[MAX_PASSWORD_LENGTH+1];
31
31
  uint16_t port;
32
 
  Session* thd;
 
32
  Session* session;
33
33
} SLAVE_INFO;
34
34
 
35
35
extern bool opt_show_slave_auth_info;
38
38
 
39
39
extern int max_binlog_dump_events;
40
40
 
41
 
int start_slave(Session* thd, Master_info* mi, bool net_report);
42
 
int stop_slave(Session* thd, Master_info* mi, bool net_report);
43
 
bool change_master(Session* thd, Master_info* mi);
44
 
bool mysql_show_binlog_events(Session* thd);
 
41
int start_slave(Session* session, Master_info* mi, bool net_report);
 
42
int stop_slave(Session* session, Master_info* mi, bool net_report);
 
43
bool change_master(Session* session, Master_info* mi);
 
44
bool mysql_show_binlog_events(Session* session);
45
45
int cmp_master_pos(const char* log_file_name1, uint64_t log_pos1,
46
46
                   const char* log_file_name2, uint64_t log_pos2);
47
 
int reset_slave(Session *thd, Master_info* mi);
48
 
int reset_master(Session* thd);
49
 
bool purge_master_logs(Session* thd, const char* to_log);
50
 
bool purge_master_logs_before_date(Session* thd, time_t purge_time);
 
47
int reset_slave(Session *session, Master_info* mi);
 
48
int reset_master(Session* session);
 
49
bool purge_master_logs(Session* session, const char* to_log);
 
50
bool purge_master_logs_before_date(Session* session, time_t purge_time);
51
51
bool log_in_use(const char* log_name);
52
52
void adjust_linfo_offsets(my_off_t purge_offset);
53
 
bool show_binlogs(Session* thd);
 
53
bool show_binlogs(Session* session);
54
54
void kill_zombie_dump_threads(uint32_t slave_server_id);
55
55
int check_binlog_magic(IO_CACHE* log, const char** errmsg);
56
56
 
57
57
typedef struct st_load_file_info
58
58
{
59
 
  Session* thd;
 
59
  Session* session;
60
60
  my_off_t last_pos_in_file;
61
61
  bool wrote_create_file, log_delayed;
62
62
} LOAD_FILE_INFO;