| Bug #69989 | wrong DBUG_ENTER string in THD::increment_questions_counter | ||
|---|---|---|---|
| Submitted: | 12 Aug 2013 6:36 | Modified: | 16 Aug 2013 16:57 |
| Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Logging | Severity: | S3 (Non-critical) |
| Version: | 5.6.14 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[16 Aug 2013 16:57]
Paul DuBois
Noted in 5.7.2 changelog. The DBUG_ENTER string for the THD::increment_questions_counter() function incorrectly named the THD::increment_updates_counter() function.

Description: Wrong DBUG_ENTER in the second function: void THD::increment_updates_counter() { DBUG_ENTER("THD::increment_updates_counter"); m_user_connect->updates++; DBUG_VOID_RETURN; } void THD::increment_questions_counter() { DBUG_ENTER("THD::increment_updates_counter"); m_user_connect->questions++; DBUG_VOID_RETURN; } How to repeat: read code. Suggested fix: the line in THD::increment_questions_counter should read: DBUG_ENTER("THD::increment_questions_counter");