XtraDB does unnecessary slow log stats accounting even with the slow log disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Medium
|
Alexey Kopytov | ||
5.1 |
Won't Fix
|
Medium
|
Alexey Kopytov | ||
5.5 |
Fix Released
|
Medium
|
Alexey Kopytov |
Bug Description
ha_innobase:
if (trx->n_
#ifdef EXTENDED_SLOWLOG
increment_
(unsigned long long) trx->descr->id,
trx->io_reads,
trx->io_read,
trx-
trx-
trx-
trx-
trx->io_reads = 0;
trx->io_read = 0;
trx->
trx->
trx->
trx->
if (trx->distinct_
memset(
#endif
The trx stats themselves are only updated if trx->take_stats is TRUE, but the code above does not check this.
Related branches
- Sergei Glushchenko (community): Approve (g2)
-
Diff: 46 lines (+19/-16)1 file modifiedPercona-Server/storage/innobase/handler/ha_innodb.cc (+19/-16)
tags: | added: slow-extended |
Assigning to myself, as this needs to be fixed for internal tests.