From 0599bd94ebd9b875da3236e88bcf48a25db343e9 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 13 Jan 2016 07:00:42 -0800 Subject: [PATCH] Remove pointless rollback() warnings with "flush" This would previously make log noise when rollbackMasterChangesAndLog() is triggered for explicit transactions. Change-Id: Ia0009bcf575ef346d3bb7354ce3fb6fb477eb95f --- includes/db/Database.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/db/Database.php b/includes/db/Database.php index 6e1b8a9ad2..c58e9bdea8 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -2689,8 +2689,6 @@ abstract class DatabaseBase implements IDatabase { } else { if ( !$this->mTrxLevel ) { return; // nothing to do - } elseif ( !$this->mTrxAutomatic ) { - wfWarn( "$fname: Flushing an explicit transaction, getting out of sync!" ); } } -- 2.20.1