Make Database::rollback() also suppress callback errors
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 4 Oct 2017 18:24:11 +0000 (11:24 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 4 Oct 2017 18:24:14 +0000 (11:24 -0700)
commit95e9115858b4e8bded9772ce092b6a762d029bc5
treeeb9f3c7336e2baaada7c6469734d5f5ad7b124e3
parent79f24aece16d61f228db21e1b7f7b56a152cd9a1
Make Database::rollback() also suppress callback errors

This is consistent with query error suppression, let the
listener callbacks have a chance to run. This also makes
LoadBalancer::rollbackMasterChanges move on to the other
connections.

Change-Id: Ic8b9dd4b868bfe69b04fb20f7be5fce11d864fc4
includes/libs/rdbms/database/Database.php
includes/libs/rdbms/database/IDatabase.php