Skip to content

Commit 7a6da5b

Browse files
committed
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. Reviewed-by: Brandon Nesterenko <brandon.nesterenko@mariadb.com>
1 parent f8aec6f commit 7a6da5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/slave.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7808,9 +7808,9 @@ static IO_CACHE *reopen_relay_log(Relay_log_info *rli, const char **errmsg)
78087808

78097809
/**
78107810
Reads next event from the relay log. Should be called from the
7811-
slave IO thread.
7811+
slave SQL thread.
78127812
7813-
@param rli Relay_log_info structure for the slave IO thread.
7813+
@param rgi rpl_group_info structure for the slave SQL thread.
78147814
78157815
@return The event read, or NULL on error. If an error occurs, the
78167816
error is reported through the sql_print_information() or

0 commit comments

Comments
 (0)