diff options
author | monty@narttu.mysql.fi <> | 2003-02-27 17:35:51 +0200 |
---|---|---|
committer | monty@narttu.mysql.fi <> | 2003-02-27 17:35:51 +0200 |
commit | a0d2a621edd4c6ddd6f25bac23a5465a9c662d36 (patch) | |
tree | 9a78565a91c6598a50921f763c99dee6cfe2c4d1 /sql/slave.cc | |
parent | fa195bc83a1efa16dec0ac3b122d0cbc145afe0f (diff) | |
download | mariadb-git-a0d2a621edd4c6ddd6f25bac23a5465a9c662d36.tar.gz |
Added detection if pthread_attr_getstacksize() exists
Fixed bug in RAND() usage in mysqlbinlog
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 64d54be113e..efab5b4c6b9 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -1783,6 +1783,7 @@ static int init_slave_thread(THD* thd, SLAVE_THD_TYPE thd_type) { DBUG_ENTER("init_slave_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; @@ -1790,7 +1791,6 @@ static int init_slave_thread(THD* thd, SLAVE_THD_TYPE thd_type) thd->priv_user = 0; thd->slave_thread = 1; thd->options = (((opt_log_slave_updates) ? OPTION_BIN_LOG:0) | OPTION_AUTO_IS_NULL) ; - thd->system_thread = 1; thd->client_capabilities = CLIENT_LOCAL_FILES; thd->real_id=pthread_self(); pthread_mutex_lock(&LOCK_thread_count); |