Commit 73605d18 authored by Marko Mäkelä's avatar Marko Mäkelä

Clean up some @return and @retval comments

parent 972b4564
......@@ -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
{
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment