~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/rpl_rli.cc

  • Committer: Brian Aker
  • Date: 2008-10-20 03:40:03 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-20081020034003-t2dcnl0ayr2ymm8k
THD -> Session rename

Show diffs side-by-side

added added

removed removed

Lines of Context:
483
483
                before reaching the desired log/position
484
484
 */
485
485
 
486
 
int32_t Relay_log_info::wait_for_pos(THD* thd, String* log_name,
 
486
int32_t Relay_log_info::wait_for_pos(Session* thd, String* log_name,
487
487
                                    int64_t log_pos,
488
488
                                    int64_t timeout)
489
489
{
720
720
    Assumes to have a run lock on rli and that no slave thread are running.
721
721
*/
722
722
 
723
 
int32_t purge_relay_logs(Relay_log_info* rli, THD *thd, bool just_reset,
 
723
int32_t purge_relay_logs(Relay_log_info* rli, Session *thd, bool just_reset,
724
724
                     const char** errmsg)
725
725
{
726
726
  int32_t error=0;
940
940
  }
941
941
}
942
942
 
943
 
void Relay_log_info::cleanup_context(THD *thd, bool error)
 
943
void Relay_log_info::cleanup_context(Session *thd, bool error)
944
944
{
945
945
  assert(sql_thd == thd);
946
946
  /*