summaryrefslogtreecommitdiff
path: root/sql/rpl_mi.h
diff options
context:
space:
mode:
authorSachin Setiya <sachin.setiya@mariadb.com>2017-05-26 15:23:15 +0530
committerSachin Setiya <sachin.setiya@mariadb.com>2017-05-26 15:23:15 +0530
commit945fb51812a9c9969d7a15e5fbf90ced9b14a23b (patch)
tree961765bee0e35c4e2859f7b17ca54e750468e94b /sql/rpl_mi.h
parent6bc9949210806a5c9630d5af17c74c8f2c54a227 (diff)
downloadmariadb-git-9544.tar.gz
MDEV-9544 FLUSH [RELAY] LOGS does not rotate logs for a named slave9544
Problem:- In the case of multisource replication/named slave when we run "FLUSH LOGS" , it does not flush logs. Solution:- A new function Master_info_index->flush_all_relay_logs() is created which will rotate relay logs for all named slave. This will be called in reload_acl_and_cache function when connection_name.length == 0
Diffstat (limited to 'sql/rpl_mi.h')
-rw-r--r--sql/rpl_mi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/rpl_mi.h b/sql/rpl_mi.h
index 31c0f280ac1..03ca5d00e41 100644
--- a/sql/rpl_mi.h
+++ b/sql/rpl_mi.h
@@ -354,6 +354,7 @@ public:
bool start_all_slaves(THD *thd);
bool stop_all_slaves(THD *thd);
void free_connections();
+ bool flush_all_relay_logs();
};