From: Aaron Schulz Date: Sun, 10 Jul 2016 23:39:31 +0000 (-0700) Subject: Upgrade error logging when implicit transactions are committed early X-Git-Tag: 1.31.0-rc.0~6369^2 X-Git-Url: http://git.cyclocoop.org/%27-%20%20.%20url_absolue%28find_in_path%28%27spip_style.css%27%29%29%20%20%20.%20url_absolue%28find_in_path%28%27prive/spip_style.css%27%29%29%20.%20%27?a=commitdiff_plain;h=9d8f38dd15b162a20421da2d34b7b5594aeccb1a;p=lhc%2Fweb%2Fwiklou.git Upgrade error logging when implicit transactions are committed early Change-Id: If976a405cd1374e70fc9af76e47b9a3f12c354c9 --- 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" ); }