summaryrefslogtreecommitdiff
path: root/sql/repl_failsafe.cc
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-02-27 17:35:51 +0200
committermonty@narttu.mysql.fi <>2003-02-27 17:35:51 +0200
commita0d2a621edd4c6ddd6f25bac23a5465a9c662d36 (patch)
tree9a78565a91c6598a50921f763c99dee6cfe2c4d1 /sql/repl_failsafe.cc
parentfa195bc83a1efa16dec0ac3b122d0cbc145afe0f (diff)
downloadmariadb-git-a0d2a621edd4c6ddd6f25bac23a5465a9c662d36.tar.gz
Added detection if pthread_attr_getstacksize() exists
Fixed bug in RAND() usage in mysqlbinlog
Diffstat (limited to 'sql/repl_failsafe.cc')
-rw-r--r--sql/repl_failsafe.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc
index cbb30cafdc4..e263ca7adeb 100644
--- a/sql/repl_failsafe.cc
+++ b/sql/repl_failsafe.cc
@@ -57,13 +57,13 @@ static int init_failsafe_rpl_thread(THD* thd)
{
DBUG_ENTER("init_failsafe_rpl_thread");
thd->system_thread = thd->bootstrap = 1;
+ thd->host_or_ip= "";
thd->client_capabilities = 0;
my_net_init(&thd->net, 0);
thd->net.read_timeout = slave_net_timeout;
thd->max_client_packet_length=thd->net.max_packet;
thd->master_access= ~0;
thd->priv_user = 0;
- thd->system_thread = 1;
pthread_mutex_lock(&LOCK_thread_count);
thd->thread_id = thread_id++;
pthread_mutex_unlock(&LOCK_thread_count);