diff options
author | tomas@poseidon.ndb.mysql.com <> | 2005-10-06 10:54:07 +0200 |
---|---|---|
committer | tomas@poseidon.ndb.mysql.com <> | 2005-10-06 10:54:07 +0200 |
commit | 620b7bafb0182949463e706fc91c0144328d0d34 (patch) | |
tree | cbe58ba165511396b212afaa1654a226d8ae88a4 /sql/repl_failsafe.cc | |
parent | 418808ba9ab51a5e0dec3ed7f00b1a8e1689ebca (diff) | |
parent | 3af12c477662114f4e118bba6806af65f64b9793 (diff) | |
download | mariadb-git-620b7bafb0182949463e706fc91c0144328d0d34.tar.gz |
Merge
Diffstat (limited to 'sql/repl_failsafe.cc')
-rw-r--r-- | sql/repl_failsafe.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/repl_failsafe.cc b/sql/repl_failsafe.cc index a30776057b1..93aafbdc0e0 100644 --- a/sql/repl_failsafe.cc +++ b/sql/repl_failsafe.cc @@ -67,13 +67,11 @@ static int init_failsafe_rpl_thread(THD* thd) this thread has no other error reporting method). */ thd->system_thread = thd->bootstrap = 1; - thd->host_or_ip= ""; + thd->security_ctx->skip_grants(); 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= ~(ulong)0; - thd->priv_user = 0; pthread_mutex_lock(&LOCK_thread_count); thd->thread_id = thread_id++; pthread_mutex_unlock(&LOCK_thread_count); |