Fix sql/slave.cc:next_event
documentation
It is called from the Replica SQL thread, not IO thread; and takes a Group Info param, likely once upgraded from the Log Info.
This commit is contained in:
parent
dd2982dc33
commit
ed805cf609
@ -7808,9 +7808,9 @@ static IO_CACHE *reopen_relay_log(Relay_log_info *rli, const char **errmsg)
|
||||
|
||||
/**
|
||||
Reads next event from the relay log. Should be called from the
|
||||
slave IO thread.
|
||||
slave SQL thread.
|
||||
|
||||
@param rli Relay_log_info structure for the slave IO thread.
|
||||
@param rgi rpl_group_info structure for the slave SQL thread.
|
||||
|
||||
@return The event read, or NULL on error. If an error occurs, the
|
||||
error is reported through the sql_print_information() or
|
||||
|
Loading…
x
Reference in New Issue
Block a user