Aaron Schulz has uploaded a new change for review.

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

Change subject: Fixed deadlockLoop() IDE errors
......................................................................

Fixed deadlockLoop() IDE errors

Change-Id: I76bb9250bc8017756af4f2552cd48ab595a26297
---
M includes/db/Database.php
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/38/229938/1

diff --git a/includes/db/Database.php b/includes/db/Database.php
index 2ee4545..cf0eab7 100644
--- a/includes/db/Database.php
+++ b/includes/db/Database.php
@@ -3205,7 +3205,8 @@
         * iteration, or false on error, for example if the retry limit was
         * reached.
         *
-        * @return bool
+        * @return mixed
+        * @throws DBQueryError
         */
        public function deadlockLoop() {
                $args = func_get_args();
@@ -3219,6 +3220,7 @@
 
                $this->begin( __METHOD__ );
 
+               $retVal = null;
                $e = null;
                do {
                        try {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I76bb9250bc8017756af4f2552cd48ab595a26297
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