Minor transaction callback cleanups
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 22 Jul 2016 23:56:10 +0000 (16:56 -0700)
committerReedy <reedy@wikimedia.org>
Sun, 24 Jul 2016 18:47:34 +0000 (18:47 +0000)
commitfe5a3fe03d19b1aca6ef113307539279e09717e5
tree303eb92bdf93b1d1981543bb41ab55ef5a4530f4
parent9ffc40235b926e9280bae432908214c9cae045f3
Minor transaction callback cleanups

* Give the flush commit() in close() a chance to handle callbacks.
  Also detect onTransactionResolution() callbacks when an error is
  thrown.
* Avoid resetting callbacks redundantly, as they already get
  cleared when they actually run.
* Fix a few doc comments.

Change-Id: I5c62262661b97a6c28ce0ab0949307dc119953ca
includes/db/Database.php