| Bug #69262 | some confusing code in function srv_master_do_active_tasks | ||
|---|---|---|---|
| Submitted: | 17 May 2013 8:16 | Modified: | 17 May 2013 9:31 |
| Reporter: | zhai weixiang (OCA) | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
| Version: | 5.6.11 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[17 May 2013 9:31]
MySQL Verification Team
Thank you for the report.

Description: In function srv_master_do_active_tasks, quoted code as bellow: 2115 if (srv_shutdown_state > 0) { 2116 return; 2117 } 2118 2119 if (srv_shutdown_state > 0) { 2120 return; 2121 } I am confused and can't understand why srv_shutdown_state should be checked twice, and there's not any comment there. How to repeat: read the code Suggested fix: remove the additional check of srv_shutdown_state