Skip to content

Commit

Permalink
Clean up some @return and @RetVal comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Feb 14, 2022
1 parent 972b456 commit 73605d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions storage/innobase/log/log0log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,8 @@ inline void log_t::persist(lsn_t lsn) noexcept

/** Write buf to ib_logfile0.
@tparam release_latch whether to invoke latch.wr_unlock()
@return new write target
@retval lsn of a callback pending on write_lock, or 0
@return lsn of a callback pending on write_lock
@retval 0 if everything was written
*/
template<bool release_latch> inline lsn_t log_t::write_buf() noexcept
{
Expand Down Expand Up @@ -606,7 +606,7 @@ inline bool log_t::flush(lsn_t lsn) noexcept
/** Ensure that previous log writes are durable.
@param lsn previously written LSN
@return new durable lsn target
@retval 0, if there are no pending callbacks on flush_lock
@retval 0 if there are no pending callbacks on flush_lock
or there is another group commit lead.
*/
static lsn_t log_flush(lsn_t lsn)
Expand Down

0 comments on commit 73605d1

Please sign in to comment.