summaryrefslogtreecommitdiff
path: root/databases/percona56-server/files/patch-sql_mysqld.cc
diff options
context:
space:
mode:
Diffstat (limited to 'databases/percona56-server/files/patch-sql_mysqld.cc')
-rw-r--r--databases/percona56-server/files/patch-sql_mysqld.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/percona56-server/files/patch-sql_mysqld.cc b/databases/percona56-server/files/patch-sql_mysqld.cc
new file mode 100644
index 000000000000..9eee54ba3ff5
--- /dev/null
+++ b/databases/percona56-server/files/patch-sql_mysqld.cc
@@ -0,0 +1,20 @@
+--- sql/mysqld.cc.orig 2013-03-05 00:04:54.000000000 +0100
++++ sql/mysqld.cc 2013-03-18 09:55:35.499120018 +0100
+@@ -6291,7 +6291,7 @@
+
+ #ifdef HAVE_LIBWRAP
+ {
+- if (mysql_socket_getfd(sock) == mysql_socket_getfd(ip_sock))
++ if (mysql_socket_getfd(sock) == mysql_socket_getfd(base_ip_sock))
+ {
+ struct request_info req;
+ signal(SIGCHLD, SIG_DFL);
+@@ -6323,7 +6323,7 @@
+ The connection was refused by TCP wrappers.
+ There are no details (by client IP) available to update the host_cache.
+ */
+- statistic_increment(connection_tcpwrap_errors, &LOCK_status);
++ statistic_increment(connection_errors_tcpwrap, &LOCK_status);
+ continue;
+ }
+ }