List:Commits« Previous MessageNext Message »
From:Sergey Vojtovich Date:November 7 2006 1:14pm
Subject:bk commit into 5.0 tree (svoj:1.2294)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of svoj. When svoj 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@stripped, 2006-11-07 17:14:22+04:00, svoj@stripped +1 -0
  Merge mysql.com:/home/svoj/devel/mysql/BUG23312/mysql-4.1-engines
  into  mysql.com:/home/svoj/devel/mysql/BUG23312/mysql-5.0-engines
  MERGE: 1.1616.2144.184

  sql/sql_insert.cc@stripped, 2006-11-07 17:14:19+04:00, svoj@stripped +0 -0
    Auto merged
    MERGE: 1.86.2.87

# 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:	svoj
# Host:	april.(none)
# Root:	/home/svoj/devel/mysql/BUG23312/mysql-5.0-engines/RESYNC

--- 1.205/sql/sql_insert.cc	2006-11-07 17:14:26 +04:00
+++ 1.206/sql/sql_insert.cc	2006-11-07 17:14:26 +04:00
@@ -1745,8 +1745,6 @@ void kill_delayed_threads(void)
   delayed_insert *tmp;
   while ((tmp=it++))
   {
-    /* Ensure that the thread doesn't kill itself while we are looking at it */
-    pthread_mutex_lock(&tmp->mutex);
     tmp->thd.killed= THD::KILL_CONNECTION;
     if (tmp->thd.mysys_var)
     {
@@ -1765,7 +1763,6 @@ void kill_delayed_threads(void)
       }
       pthread_mutex_unlock(&tmp->thd.mysys_var->mutex);
     }
-    pthread_mutex_unlock(&tmp->mutex);
   }
   VOID(pthread_mutex_unlock(&LOCK_delayed_insert)); // For unlink from list
 }
Thread
bk commit into 5.0 tree (svoj:1.2294)Sergey Vojtovich7 Nov