Missing UNIV_UNLIKELY on trx->distinct_page_access_hash tests

Bug #1178113 reported by Laurynas Biveinis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.1
Won't Fix
Undecided
Unassigned
5.5
Triaged
Low
Krunal Bauskar
5.6
Triaged
Low
Krunal Bauskar
5.7
Triaged
Low
Krunal Bauskar

Bug Description

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)
 {

tags: added: slow-extended xtradb
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-2006

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.