Added error checking for all calls to flush_relay_log_info() and stmt_done()

This commit is contained in:
Monty 2017-02-05 02:23:49 +02:00 committed by Sergei Golubchik
commit 4bad74e139
7 changed files with 40 additions and 21 deletions

View file

@ -416,7 +416,7 @@ public:
relay log info and used to produce information for <code>SHOW
SLAVE STATUS</code>.
*/
void stmt_done(my_off_t event_log_pos, THD *thd, rpl_group_info *rgi);
bool stmt_done(my_off_t event_log_pos, THD *thd, rpl_group_info *rgi);
int alloc_inuse_relaylog(const char *name);
void free_inuse_relaylog(inuse_relaylog *ir);
void reset_inuse_relaylog();