List:Commits« Previous MessageNext Message »
From:knielsen Date:November 14 2007 3:07pm
Subject:bk commit into 5.1 tree (knielsen:1.2622)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of knielsen. When knielsen 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, 2007-11-14 15:06:55+01:00, knielsen@ymer.(none) +1 -0
  WL#1498: Multi-threaded ndbd.
  
  Fix crash during shutdown.

  storage/ndb/src/kernel/vm/mt/mt.cpp@stripped, 2007-11-14 15:06:52+01:00,
knielsen@ymer.(none) +2 -2
    Fix crash during shutdown.

diff -Nrup a/storage/ndb/src/kernel/vm/mt/mt.cpp b/storage/ndb/src/kernel/vm/mt/mt.cpp
--- a/storage/ndb/src/kernel/vm/mt/mt.cpp	2007-11-14 14:46:10 +01:00
+++ b/storage/ndb/src/kernel/vm/mt/mt.cpp	2007-11-14 15:06:52 +01:00
@@ -1713,8 +1713,8 @@ void ThreadConfig::ipControlLoop(Uint32 
     if (thr_no == RECEIVER_THREAD_NO)
       continue;
     void *dummy_return_status;
-    NdbThread_WaitFor(threads[thr_no - 1], &dummy_return_status);
-    NdbThread_Destroy(&(threads[thr_no - 1]));
+    NdbThread_WaitFor(threads[thr_no], &dummy_return_status);
+    NdbThread_Destroy(&(threads[thr_no]));
   }
 }
 
Thread
bk commit into 5.1 tree (knielsen:1.2622)knielsen14 Nov