~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/rpl_mi.cc

  • Committer: Brian Aker
  • Date: 2008-10-08 22:44:20 UTC
  • Revision ID: brian@tangent.org-20081008224420-h2gg4bpj3ngdch1f
Removed dead code around SHOW commands (I_S exist for collations/charsets)

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
void Master_info::reset()
140
140
{
141
141
  log_name.clear();
142
 
  log_pos= BIN_LOG_HEADER_SIZE; 
 
142
  log_pos= 0; 
143
143
}
144
144
 
145
145
 
146
146
int Master_info::init_master_info(const char* master_info_fname,
147
147
                                  const char* slave_info_fname,
148
 
                                  bool abort_if_no_master_info_file __attribute__((unused)),
149
148
                                  int thread_mask)
150
149
{
151
150
  int error;
193
192
  {
194
193
    drizzle::MasterList_Record *record;
195
194
 
196
 
    if (abort_if_no_master_info_file)
197
 
    {
198
 
      pthread_mutex_unlock(&data_lock);
199
 
      return 0;
200
 
    }
201
 
 
202
195
    reset();
203
196
 
204
197
    /* Write new Master info file here (from info_filename) */