diff options
Diffstat (limited to 'sql/sql_repl.cc')
-rw-r--r-- | sql/sql_repl.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/sql_repl.cc b/sql/sql_repl.cc index 4505ad69880..4ee55b59c11 100644 --- a/sql/sql_repl.cc +++ b/sql/sql_repl.cc @@ -2986,6 +2986,15 @@ int start_slave(THD* thd , Master_info* mi, bool net_report) err: unlock_slave_threads(mi); +#ifdef WITH_WSREP + if (WSREP(thd)) + thd_proc_info(thd, "exit stop_slave()"); + else + thd_proc_info(thd, 0); +#else /* WITH_WSREP */ + thd_proc_info(thd, 0); +#endif /* WITH_WSREP */ + if (slave_errno) { if (net_report) |