summaryrefslogtreecommitdiff
path: root/sql/rpl_mi.cc
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2017-03-01 11:41:48 +0400
committerSergey Vojtovich <svoj@mariadb.org>2017-03-01 11:41:48 +0400
commitc1c5b7a8d26b446db18c5d16aca523252e97d078 (patch)
tree5bba34dd803de38e9b31245314c6eb2bc1afdaa9 /sql/rpl_mi.cc
parente9ad4bdb4252e0a4a3799364e9a27c3865a19df1 (diff)
downloadmariadb-git-c1c5b7a8d26b446db18c5d16aca523252e97d078.tar.gz
Fixed missing DBUG_RETURN
Diffstat (limited to 'sql/rpl_mi.cc')
-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)