~percona-dev/percona-server/5.1-innodb_extend_slow-overflows_fix

« back to all changes in this revision

Viewing changes to log_connection_error.patch

  • Committer: Oleg Tsarev
  • Date: 2011-03-15 15:23:07 UTC
  • mfrom: (208.2.1 5.1.56)
  • Revision ID: oleg.tsarev@percona.com-20110315152307-mu505naiz4rak33n
port Alexey and Oleg patches to 5.1.56

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
diff -ruN 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
 
@@ -5046,6 +5046,10 @@
 
48
@@ -5064,6 +5064,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
 
@@ -5433,6 +5437,10 @@
 
59
@@ -5451,6 +5455,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
 
@@ -5628,6 +5636,10 @@
 
70
@@ -5646,6 +5654,10 @@
71
71
                                                    event_conn_closed)) ||
72
72
                         my_net_init(&thd->net, thd->net.vio))
73
73
     {