List:Commits« Previous MessageNext Message »
From:antony Date:January 23 2007 5:35pm
Subject:bk commit into 5.1 tree (acurtis:1.2398)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of antony. When antony 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-01-23 08:34:50-08:00, acurtis@stripped +2 -0
  Merge xiphis.org:/home/antony/work2/p1-bug25396.4
  into  xiphis.org:/home/antony/work2/p1-bug25396.5
  MERGE: 1.2372.15.1

  sql/ha_ndbcluster.cc@stripped, 2007-01-23 08:34:45-08:00, acurtis@stripped +0 -0
    Auto merged
    MERGE: 1.384.1.1

  sql/mysqld.cc@stripped, 2007-01-23 08:34:45-08:00, acurtis@stripped +0 -0
    Auto merged
    MERGE: 1.599.6.1

# 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:	acurtis
# Host:	ltamd64.xiphis.org
# Root:	/home/antony/work2/p1-bug25396.5/RESYNC

--- 1.604/sql/mysqld.cc	2007-01-23 08:35:05 -08:00
+++ 1.605/sql/mysqld.cc	2007-01-23 08:35:05 -08:00
@@ -3698,15 +3698,18 @@
                          mysqld_port,
                          MYSQL_COMPILATION_COMMENT);
 
-  // Signal threads waiting for server to be started
-  mysqld_server_started= 1;
-  pthread_cond_signal(&COND_server_started);
-
   if (!opt_noacl)
   {
     if (Events::get_instance()->init())
       unireg_abort(1);
   }
+
+  /* Signal threads waiting for server to be started */
+  pthread_mutex_lock(&LOCK_server_started);
+  mysqld_server_started= 1;
+  pthread_cond_signal(&COND_server_started);
+  pthread_mutex_unlock(&LOCK_server_started);
+
 #if defined(__NT__) || defined(HAVE_SMEM)
   handle_connections_methods();
 #else

--- 1.385/sql/ha_ndbcluster.cc	2007-01-23 08:35:05 -08:00
+++ 1.386/sql/ha_ndbcluster.cc	2007-01-23 08:35:05 -08:00
@@ -7817,7 +7817,7 @@
 retry:
     if(report_error)
     {
-      if (file)
+      if (file && pTrans)
       {
         reterr= file->ndb_err(pTrans);
       }
Thread
bk commit into 5.1 tree (acurtis:1.2398)antony23 Jan