From: Date: September 21 2007 5:10pm Subject: bk commit into 5.0 tree (msvensson:1.2526) BUG#28359 List-Archive: http://lists.mysql.com/commits/34456 X-Bug: 28359 Message-Id: <20070921151052.DC811830039@shellback.localdomain> Below is the list of changes that have just been committed into a local 5.0 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-09-21 17:10:45+02:00, msvensson@shellback.(none) +1 -0 Bug#28359 Intermitted lost connection at 'reading authorization packet' errors - Increase default 'connect_timeout' value to 10 seconds sql/mysql_priv.h@stripped, 2007-09-21 17:10:40+02:00, msvensson@shellback.(none) +6 -1 Increase the default connect_timeout value to 10 seconds diff -Nrup a/sql/mysql_priv.h b/sql/mysql_priv.h --- a/sql/mysql_priv.h 2007-08-16 18:56:08 +02:00 +++ b/sql/mysql_priv.h 2007-09-21 17:10:40 +02:00 @@ -245,8 +245,13 @@ MY_LOCALE *my_locale_by_number(uint numb #define PRECISION_FOR_DOUBLE 53 #define PRECISION_FOR_FLOAT 24 +/* + Default time to wait before aborting a new client connection + that does not respond to "initial server greeting" timely +*/ +#define CONNECT_TIMEOUT 10 + /* The following can also be changed from the command line */ -#define CONNECT_TIMEOUT 5 // Do not wait long for connect #define DEFAULT_CONCURRENCY 10 #define DELAYED_LIMIT 100 /* pause after xxx inserts */ #define DELAYED_QUEUE_SIZE 1000