From ed805cf60919d7ed3254fe644154e742192bc303 Mon Sep 17 00:00:00 2001 From: ParadoxV5 Date: Tue, 10 Jun 2025 10:28:15 -0600 Subject: [PATCH] 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. --- sql/slave.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/slave.cc b/sql/slave.cc index 23851fdaf5c..c08a6f2b84b 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -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