summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2017-03-03 20:16:16 +0200
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2017-03-03 20:16:16 +0200
commitf4806772d3578fee7fd03dd96f91d59b0269830e (patch)
tree3167b81338971322c958d5a83bf34826a42e6570 /sql
parent606a4a48475c95480751755e811e0b6c76ce1c3e (diff)
downloadmariadb-git-f4806772d3578fee7fd03dd96f91d59b0269830e.tar.gz
Add missing DBUG_RETURN
Diffstat (limited to 'sql')
-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)