Bug #106714 | A potential data race | ||
---|---|---|---|
Submitted: | 12 Mar 2022 8:51 | Modified: | 14 Mar 2022 14:26 |
Reporter: | Cai Ryan | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S7 (Test Cases) |
Version: | 8.0.26 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | bug, data race |
[12 Mar 2022 8:51]
Cai Ryan
[14 Mar 2022 14:26]
MySQL Verification Team
Hi Mr. Yuandao, Thank you for your bug report. However, this is not a bug. Do note that `notified` is not a pointer, but it holds a value. Furthermore, it is a local constant. Hence, according to the latest C standard, C18, it does not have to be protected by a mutex, since it is not shared among the threads. Not a bug.
[15 Mar 2022 13:15]
MySQL Verification Team
We have also noted that this code is not found in our latest 8.0 release.