~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/slave.cc

  • Committer: Jay Pipes
  • Date: 2008-08-25 21:12:17 UTC
  • mfrom: (322.2.4 stdize-code)
  • Revision ID: jay@mysql.com-20080825211217-eqvfmcgvkoktdvtr
From Mats.  Corrected build issue with missing Makefile target

Show diffs side-by-side

added added

removed removed

Lines of Context:
1220
1220
      non-volotile members like mi->io_thd, which is guarded by the mutex.
1221
1221
    */
1222
1222
    pthread_mutex_lock(&mi->run_lock);
1223
 
    protocol->store(mi->io_thd ? mi->io_thd->proc_info : "", &my_charset_bin);
 
1223
    protocol->store(mi->io_thd ? mi->io_thd->get_proc_info() : "", &my_charset_bin);
1224
1224
    pthread_mutex_unlock(&mi->run_lock);
1225
1225
 
1226
1226
    pthread_mutex_lock(&mi->data_lock);
1905
1905
                            const char *messages[SLAVE_RECON_MSG_MAX])
1906
1906
{
1907
1907
  mi->slave_running= DRIZZLE_SLAVE_RUN_NOT_CONNECT;
1908
 
  thd->proc_info= _(messages[SLAVE_RECON_MSG_WAIT]);
 
1908
  thd->set_proc_info(_(messages[SLAVE_RECON_MSG_WAIT]));
1909
1909
#ifdef SIGNAL_WITH_VIO_CLOSE
1910
1910
  thd->clear_active_vio();
1911
1911
#endif
1920
1920
  if (check_io_slave_killed(thd, mi,
1921
1921
                            _(messages[SLAVE_RECON_MSG_KILLED_WAITING])))
1922
1922
    return 1;
1923
 
  thd->proc_info = _(messages[SLAVE_RECON_MSG_AFTER]);
 
1923
  thd->set_proc_info(_(messages[SLAVE_RECON_MSG_AFTER]));
1924
1924
  if (!suppress_warnings)
1925
1925
  {
1926
1926
    char buf[256], llbuff[22];