~percona-dev/percona-server/release-5.1.51-11-bug_fix_611844

« back to all changes in this revision

Viewing changes to log_connection_error.patch

  • Committer: Oleg Tsarev
  • Date: 2010-10-05 04:21:49 UTC
  • mfrom: (127.1.2 51)
  • Revision ID: oleg.tsarev@percona.com-20101005042149-4tjnmljpzo8mjhzw
port Oleg's patches 5.1.51

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
diff -Nur a/sql/mysqld.cc b/sql/mysqld.cc
46
46
--- a/sql/mysqld.cc     2010-07-28 16:47:47.105319218 +0400
47
47
+++ b/sql/mysqld.cc     2010-07-28 16:47:47.644101813 +0400
48
 
@@ -5049,6 +5049,10 @@
 
48
@@ -5054,6 +5054,10 @@
49
49
 
50
50
     DBUG_PRINT("error",("Too many connections"));
51
51
     close_connection(thd, ER_CON_COUNT_ERROR, 1);
56
56
     statistic_increment(denied_connections, &LOCK_status);
57
57
     delete thd;
58
58
     DBUG_VOID_RETURN;
59
 
@@ -5436,6 +5440,10 @@
 
59
@@ -5441,6 +5445,10 @@
60
60
     if (!(thd->net.vio= vio_new_win32pipe(hConnectedPipe)) ||
61
61
        my_net_init(&thd->net, thd->net.vio))
62
62
     {
67
67
       close_connection(thd, ER_OUT_OF_RESOURCES, 1);
68
68
       delete thd;
69
69
       continue;
70
 
@@ -5631,6 +5639,10 @@
 
70
@@ -5636,6 +5644,10 @@
71
71
                                                    event_conn_closed)) ||
72
72
                         my_net_init(&thd->net, thd->net.vio))
73
73
     {