#At file:///home/frazer/bzr/mysql-5.1-telco-6.4-ipv6/
3199 Frazer Clement 2009-01-08
WL4562 IPv6 support for replication
Fix bug with LOAD DATA FROM MASTER client side address binding.
modified:
sql/repl_failsafe.cc
per-file messages:
sql/repl_failsafe.cc
Only set bind option if bind address is non-empty.
=== modified file 'sql/repl_failsafe.cc'
--- a/sql/repl_failsafe.cc 2009-01-08 17:44:55 +0000
+++ b/sql/repl_failsafe.cc 2009-01-08 22:13:42 +0000
@@ -708,7 +708,7 @@ int connect_to_master(THD *thd, MYSQL* m
mysql_options(mysql, MYSQL_OPT_CONNECT_TIMEOUT, (char *) &slave_net_timeout);
mysql_options(mysql, MYSQL_OPT_READ_TIMEOUT, (char *) &slave_net_timeout);
- if (mi->bind_addr)
+ if (mi->bind_addr && (mi->bind_addr[0] != 0))
{
DBUG_PRINT("info",("rpl failsafe BIND ADDR: %s",mi->bind_addr));
mysql_options(mysql, MYSQL_OPT_BIND, mi->bind_addr);
| Thread |
|---|
| • bzr commit into mysql-5.1 branch (frazer:3199) | Frazer Clement | 8 Jan 2009 |