summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2002-07-16 22:08:41 +0300
committerunknown <Sinisa@sinisa.nasamreza.org>2002-07-16 22:08:41 +0300
commit2547e933c8c03249f5295aa71a50ce2b35fc3dd8 (patch)
tree61d06f5a553daa4b0c9e04f4325a74c7db10ca14
parent43376d554f7449a261ecedb057fa113a409b3225 (diff)
parent39859d5d7cf2585b01f01204c7a664d10f3ee89e (diff)
downloadmariadb-git-2547e933c8c03249f5295aa71a50ce2b35fc3dd8.tar.gz
Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql sql/slave.cc: Auto merged
-rw-r--r--Docs/manual.texi2
-rw-r--r--sql/slave.cc3
2 files changed, 4 insertions, 1 deletions
diff --git a/Docs/manual.texi b/Docs/manual.texi
index 1ef91638e17..e005cedf144 100644
--- a/Docs/manual.texi
+++ b/Docs/manual.texi
@@ -46928,6 +46928,8 @@ not yet 100% confident in this code.
@appendixsubsec Changes in release 3.23.52
@itemize @bullet
@item
+Fixed bug with slave net read timeouting
+@item
Fixed bug in ALTERing TABLE of BDB type.
@item
Fixed bug when logging @code{LOAD DATA INFILE} to binary log with no
diff --git a/sql/slave.cc b/sql/slave.cc
index 65fc807cc2b..dd815037d5e 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -456,7 +456,7 @@ int fetch_nx_table(THD* thd, MASTER_INFO* mi)
nx_errno = ER_BAD_HOST_ERROR;
goto err;
}
-
+ mysql->net.timeout=slave_net_timeout;
safe_connect(thd, mysql, mi);
if (slave_killed(thd))
goto err;
@@ -1312,6 +1312,7 @@ pthread_handler_decl(handle_slave,arg __attribute__((unused)))
goto err;
}
+ mysql->net.timeout=slave_net_timeout;
thd->proc_info = "connecting to master";
#ifndef DBUG_OFF
sql_print_error("Slave thread initialized");