Bug #72919 comment of function os_event_is_set is incorrect
Submitted: 9 Jun 2014 14:18 Modified: 12 Jun 2014 11:43
Reporter: zhai weixiang (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: InnoDB storage engine Severity:S3 (Non-critical)
Version:5.7.4 OS:Any
Assigned to: CPU Architecture:Any

[9 Jun 2014 14:18] zhai weixiang
Description:
quoted code from os/os0event.cc

624 /**
625 Sets an event semaphore to the signaled state: lets waiting threads
626 proceed. */
627 
628 bool
629 os_event_is_set(
630 /*============*/
631         const os_event_t        event)          /*!< in: event to test */
632 {
633         return(event->is_set());
634 }

the comment of os_event_is_set seems directly copied from function os_event_set

How to repeat:
check the code 

Suggested fix:
correct it.
[9 Jun 2014 16:08] MySQL Verification Team
Thank you for the bug report.
[12 Jun 2014 11:43] Daniel Price
Fixed as of the upcoming 5.7.5 release, and here's the changelog entry:

A code comment for the "os_event_is_set" function in
"storage/innobase/os/os0event.cc" was incorrect. 

Thank you for the bug report.