summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/slave.cc')
-rw-r--r--sql/slave.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.cc b/sql/slave.cc
index 0b5e8e912cf..bd3bab224d3 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -1448,7 +1448,7 @@ void slave_prepare_for_shutdown()
mysql_mutex_unlock(&LOCK_active_mi);
// It's safe to destruct worker pool now when
// all driver threads are gone.
- global_rpl_thread_pool.destroy();
+ global_rpl_thread_pool.deactivate();
stop_slave_background_thread();
}