List:Commits« Previous MessageNext Message »
From:msvensson Date:March 5 2007 10:03am
Subject:bk commit into 5.1 tree (msvensson:1.2488)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of msvensson. When msvensson 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-03-05 11:03:09+01:00, msvensson@stripped +1 -0
  Merge pilot.blaudden:/home/msvensson/mysql/bug18441/my50-bug18441
  into  pilot.blaudden:/home/msvensson/mysql/bug18441/my51-bug18441
  MERGE: 1.1810.2372.134

  sql/mysqld.cc@stripped, 2007-03-05 11:03:07+01:00, msvensson@stripped +0 -0
    Auto merged
    MERGE: 1.439.82.20

# 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:	msvensson
# Host:	pilot.blaudden
# Root:	/home/msvensson/mysql/bug18441/my51-bug18441/RESYNC

--- 1.623/sql/mysqld.cc	2007-03-01 14:53:30 +01:00
+++ 1.624/sql/mysqld.cc	2007-03-05 11:03:07 +01:00
@@ -1623,18 +1623,11 @@ static void network_init(void)
 				(int) global_system_variables.net_buffer_length,
 				NMPWAIT_USE_DEFAULT_WAIT,
 				&saPipeSecurity)) == INVALID_HANDLE_VALUE)
-      {
-	LPVOID lpMsgBuf;
-	int error=GetLastError();
-	FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER |
-		      FORMAT_MESSAGE_FROM_SYSTEM,
-		      NULL, error, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
-		      (LPTSTR) &lpMsgBuf, 0, NULL );
-	MessageBox(NULL, (LPTSTR) lpMsgBuf, "Error from CreateNamedPipe",
-		    MB_OK|MB_ICONINFORMATION);
-	LocalFree(lpMsgBuf);
-	unireg_abort(1);
-      }
+    {
+      sql_print_error("Can't start server: Failed to create named pipe: %d",
+                      GetLastError());
+      unireg_abort(1);
+    }
   }
 #endif
 
Thread
bk commit into 5.1 tree (msvensson:1.2488)msvensson5 Mar