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:
None 
Category:MySQL Server: Logging Severity:S3 (Non-critical)
Version:5.6.14 OS:Any
Assigned to: CPU Architecture:Any

[12 Aug 2013 6:36] Shane Bester
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");
[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.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.