LP #1178113: Missing UNIV_UNLIKELY on trx->distinct_page_access_hash tests

Description

**Reported in Launchpad by Laurynas Biveinis last update 24-09-2015 11:02:30

Most of the trx->distinct_page_access_hash are already protected by InnoDB slow query log extensions enabled tests. But couple aren't:

void
trx_free_for_mysql(
/===============/
trx_t* trx) /*!< in, own: trx object */
{
if (trx->distinct_page_access_hash)
{

void
trx_free_for_background(
/====================/
trx_t* trx) /*!< in, own: trx object */
{
if (trx->distinct_page_access_hash)
{

Environment

None

Smart Checklist

Activity

Show:

Laurynas Biveinis December 17, 2018 at 1:48 PM

Fixed in

Duplicate

Assignee

Reporter

Priority

Created January 22, 2018 at 6:18 PM
Updated December 17, 2018 at 1:48 PM
Resolved December 17, 2018 at 1:48 PM