Remove pointless rollback() warnings with "flush"
This would previously make log noise when rollbackMasterChangesAndLog() runs Change-Id: I36dd955a89b23ed6d1ea693cf5366c7d3ad8d3af
This commit is contained in:
parent
95ebc3d956
commit
f86bd0a7eb
1 changed files with 0 additions and 2 deletions
|
|
@ -2685,8 +2685,6 @@ abstract class DatabaseBase implements IDatabase {
|
|||
if ( !$this->mTrxLevel ) {
|
||||
wfWarn( "$fname: No transaction to rollback, something got out of sync!" );
|
||||
return; // nothing to do
|
||||
} elseif ( $this->mTrxAutomatic ) {
|
||||
wfWarn( "$fname: Explicit rollback of implicit transaction. Something may be out of sync!" );
|
||||
}
|
||||
} else {
|
||||
if ( !$this->mTrxLevel ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue