List:Internals« Previous MessageNext Message »
From:kvishwanatha Date:August 16 2005 1:37pm
Subject:bk commit into 4.1 tree (bldsql:1.2367)
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of bldsql. When bldsql does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2367 05/08/16 19:07:15 bldsql@stripped +1 -0
  Merge bk://mysql.bkbits.net/mysql-4.1
  into  blr-naas-nwl03.blr.novell.com:/home/bldsql/bk/mysql-4.1-web

  sql/mysqld.cc
    1.586 05/08/16 19:07:08 bldsql@stripped +0 -0
    Auto merged

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	bldsql
# Host:	blr-naas-nwl03.blr.novell.com
# Root:	/home/bldsql/bk/mysql-4.1-web/RESYNC

--- 1.585/sql/mysqld.cc	2005-08-08 10:24:18 +05:30
+++ 1.586/sql/mysqld.cc	2005-08-16 19:07:08 +05:30
@@ -650,7 +650,6 @@
   }
 #endif
   end_thr_alarm(0);			 // Abort old alarms.
-  end_slave();
 
   /*
     First signal all threads that it's time to die
@@ -666,6 +665,9 @@
   {
     DBUG_PRINT("quit",("Informing thread %ld that it's time to die",
 		       tmp->thread_id));
+    /* We skip slave threads on this first loop through. */
+    if (tmp->slave_thread) continue;
+
     tmp->killed= 1;
     if (tmp->mysys_var)
     {
@@ -681,6 +683,8 @@
     }
   }
   (void) pthread_mutex_unlock(&LOCK_thread_count); // For unlink from list
+
+  end_slave();
 
   if (thread_count)
     sleep(2);					// Give threads time to die
Thread
bk commit into 4.1 tree (bldsql:1.2367)kvishwanatha16 Aug