Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/311872

Change subject: Mention the lock name in DatabaseMysqlBase lock() errors
......................................................................

Mention the lock name in DatabaseMysqlBase lock() errors

Change-Id: I9f5b331072caf29985bfb4319786cc2c5cddf5dd
---
M includes/libs/rdbms/database/DatabaseMysqlBase.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/72/311872/1

diff --git a/includes/libs/rdbms/database/DatabaseMysqlBase.php 
b/includes/libs/rdbms/database/DatabaseMysqlBase.php
index 9be3ede..c025ec4 100644
--- a/includes/libs/rdbms/database/DatabaseMysqlBase.php
+++ b/includes/libs/rdbms/database/DatabaseMysqlBase.php
@@ -991,7 +991,7 @@
                        return true;
                }
 
-               $this->queryLogger->debug( __METHOD__ . " failed to acquire 
lock\n" );
+               $this->queryLogger->debug( __METHOD__ . " failed to acquire 
lock '$lockName'\n" );
 
                return false;
        }
@@ -1013,7 +1013,7 @@
                        return true;
                }
 
-               $this->queryLogger->debug( __METHOD__ . " failed to release 
lock\n" );
+               $this->queryLogger->debug( __METHOD__ . " failed to release 
lock '$lockName'\n" );
 
                return false;
        }

-- 
To view, visit https://gerrit.wikimedia.org/r/311872
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9f5b331072caf29985bfb4319786cc2c5cddf5dd
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to