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:
ParadoxV5 2025-06-10 10:28:15 -06:00
parent dd2982dc33
commit ed805cf609
No known key found for this signature in database
GPG Key ID: BA0F6CF92356379E

View File

@ -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