summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authorguilhem@mysql.com <>2004-06-10 14:03:25 +0200
committerguilhem@mysql.com <>2004-06-10 14:03:25 +0200
commit10429acb8e6b95c7fc31078fe4d2b22b1402e400 (patch)
treef4e81a372e6e64ceba7b68702d875a0953aec067 /sql/slave.cc
parentaa3c80fb7d1e22f080209f06e6c7d31ed3c85237 (diff)
downloadmariadb-git-10429acb8e6b95c7fc31078fe4d2b22b1402e400.tar.gz
don't need to tag the slave SQL thread as "bootstrap". It causes duplicate
error messages when a query goes wrong. Note that from now on, if you run with --slave-skip-error=xx, then nothing will be printed to the error log when the slave is having this error xx and skipping it (but you don't care as you want to skip it).
Diffstat (limited to 'sql/slave.cc')
-rw-r--r--sql/slave.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc
index a9b598d73db..1a59e5b2b5b 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -2516,7 +2516,6 @@ static int init_slave_thread(THD* thd, SLAVE_THD_TYPE thd_type)
DBUG_ENTER("init_slave_thread");
thd->system_thread = (thd_type == SLAVE_THD_SQL) ?
SYSTEM_THREAD_SLAVE_SQL : SYSTEM_THREAD_SLAVE_IO;
- thd->bootstrap= 1;
thd->host_or_ip= "";
thd->client_capabilities = 0;
my_net_init(&thd->net, 0);