From 9d8f38dd15b162a20421da2d34b7b5594aeccb1a Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 10 Jul 2016 16:39:31 -0700 Subject: [PATCH] Upgrade error logging when implicit transactions are committed early Change-Id: If976a405cd1374e70fc9af76e47b9a3f12c354c9 --- includes/db/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/db/Database.php b/includes/db/Database.php index cfdf3828d1..d4edf01b1a 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -2606,7 +2606,7 @@ abstract class DatabaseBase implements IDatabase { } else { // The transaction was automatic and has done write operations if ( $this->mTrxDoneWrites ) { - wfDebug( "$fname: Automatic transaction with writes in progress" . + wfLogDBError( "$fname: Automatic transaction with writes in progress" . " (from {$this->mTrxFname}), performing implicit commit!\n" ); } -- 2.20.1