summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/rpl_mi.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/rpl_mi.cc b/sql/rpl_mi.cc
index 59ada30a46d..fd501e62898 100644
--- a/sql/rpl_mi.cc
+++ b/sql/rpl_mi.cc
@@ -1430,7 +1430,7 @@ uint any_slave_sql_running()
if (unlikely(shutdown_in_progress || !master_info_index))
{
mysql_mutex_unlock(&LOCK_active_mi);
- return 1;
+ DBUG_RETURN(1);
}
hash= &master_info_index->master_info_hash;
for (uint i= 0; i< hash->records; ++i)