Record TransactionProfiler violations beyond the first-by-type
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 22 Jun 2017 20:56:02 +0000 (13:56 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 27 Jun 2017 23:44:33 +0000 (16:44 -0700)
commite447f908960660aeff60a39f707f881ad748da80
tree216477c0ed34252e2d9b1723600c19c9d0698a4d
parentbb6b2e5edc1135a5a8c619b328e1dae86a014335
Record TransactionProfiler violations beyond the first-by-type

Beyond giving a more complete picture, this can be used to adjust
the PostSend criteria to log master queries under the restInPeace()
entry point.

Bug: T166199
Change-Id: If5cf704ba10291d0eba63e66b388666fde3ca649
includes/libs/rdbms/TransactionProfiler.php
tests/phpunit/includes/libs/rdbms/TransactionProfilerTest.php [new file with mode: 0644]