Bug #92779 Redolog Code Comment mistake
Submitted: 15 Oct 2018 6:38 Modified: 15 Oct 2018 8:28
Reporter: William Li Email Updates:
Status: Verified Impact on me:
Category:MySQL Server: InnoDB storage engine Severity:S3 (Non-critical)
Version:8.0.12 OS:Any
Assigned to: CPU Architecture:Any
Tags: Comment error

[15 Oct 2018 6:38] William Li
The the code comment in line 870 of log0buf.cc maybe a typo, it's "[log.buf_ready_for_write_lsn..log.buf_ready_ready_write_lsn+M)" which should be "[log.buf_ready_for_write_lsn..log.buf_ready_for_write_lsn+M)". 

How to repeat:
Always reproducible

Suggested fix:
"[log.buf_ready_for_write_lsn..log.buf_ready_ready_write_lsn+M)" =>
[15 Oct 2018 8:28] MySQL Verification Team
Thank you for the bug report.