Fix ProfilerStandard sorting and a profile error
authorTim Starling <tstarling@wikimedia.org>
Fri, 5 Dec 2014 04:45:29 +0000 (15:45 +1100)
committerBryanDavis <bdavis@wikimedia.org>
Thu, 11 Dec 2014 18:14:13 +0000 (18:14 +0000)
commit90fd90d8ce3926e448c525138f644b74231e6402
tree1d0ac945812a98f7bf492ef78fbbc6e9cb8d5a1b
parent90a3418cf27021e1c56323e453ffac2b0e49f9ea
Fix ProfilerStandard sorting and a profile error

* Sort $this->collated even if collateOnly is set. Also I don't think
  arsort works that way.
* Fix a profiling error in every DB query, which was due to the two
  scoped profiling sections being destroyed in the wrong order.

Change-Id: I6af05f37a5c0391acfa80d54ecbca7a08ad81250
includes/db/Database.php
includes/profiler/ProfilerStandard.php