From 33a3e097cb196241f7d702c248531a7f134f4a0d Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 5 Nov 2015 16:23:21 -0800 Subject: [PATCH] Improve mismatched atomic section errors Change-Id: I9b1561b6426ac00f72867452bee396b649ad8bfd --- 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 531086b363..60cf0ecef0 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -3438,7 +3438,7 @@ abstract class DatabaseBase implements IDatabase { $levels = implode( ', ', $this->mTrxAtomicLevels ); throw new DBUnexpectedError( $this, - "Got explicit BEGIN while atomic sections $levels are still open." + "Got explicit BEGIN from $fname while atomic section(s) $levels are open." ); } elseif ( !$this->mTrxAutomatic ) { // We want to warn about inadvertently nested begin/commit pairs, but not about -- 2.20.1