Legoktm has uploaded a new change for review.

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

Change subject: Fix database query in Special:GlobalRenameProgress
......................................................................

Fix database query in Special:GlobalRenameProgress

Change-Id: I391058f8fe4cf5e8df912b9216ab1774b34e630f
---
M includes/specials/SpecialGlobalRenameProgress.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralAuth 
refs/changes/92/204192/1

diff --git a/includes/specials/SpecialGlobalRenameProgress.php 
b/includes/specials/SpecialGlobalRenameProgress.php
index ae70fe5..fcadb31 100644
--- a/includes/specials/SpecialGlobalRenameProgress.php
+++ b/includes/specials/SpecialGlobalRenameProgress.php
@@ -65,10 +65,10 @@
 
                $res = $dbr->select(
                        $tables,
-                       array( 'DISTINCT(ru_oldname) as ru_oldname', 
'ru_newname' ),
+                       array( 'ru_oldname', 'ru_newname' ),
                        array(),
                        __METHOD__,
-                       array(),
+                       array( 'DISTINCT' ),
                        $join_conds
                );
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I391058f8fe4cf5e8df912b9216ab1774b34e630f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to