~ubuntu-branches/ubuntu/saucy/mysql-5.5/saucy-security

« back to all changes in this revision

Viewing changes to sql/slave.cc

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2013-10-22 15:14:10 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20131022151410-5xj09x9slxhqa0fx
Tags: 5.5.34-0ubuntu0.13.10.1
* SECURITY UPDATE: Update to 5.5.34 to fix security issues (LP: #1243253)
  - http://www.oracle.com/technetwork/topics/security/cpuoct2013-1899837.html
  - CVE-2013-3839
  - CVE-2013-5807

Show diffs side-by-side

added added

removed removed

Lines of Context:
709
709
{
710
710
  pthread_t th;
711
711
  ulong start_id;
 
712
  int error;
712
713
  DBUG_ENTER("start_slave_thread");
713
714
 
714
715
  DBUG_ASSERT(mi->inited);
735
736
  }
736
737
  start_id= *slave_run_id;
737
738
  DBUG_PRINT("info",("Creating new slave thread"));
738
 
  if (mysql_thread_create(thread_key,
739
 
                          &th, &connection_attrib, h_func, (void*)mi))
 
739
  if ((error = mysql_thread_create(thread_key,
 
740
                           &th, &connection_attrib, h_func, (void*)mi)))
740
741
  {
 
742
    sql_print_error("Can't create slave thread (errno= %d).", error);
741
743
    if (start_lock)
742
744
      mysql_mutex_unlock(start_lock);
743
745
    DBUG_RETURN(ER_SLAVE_THREAD);