jenkins-bot has submitted this change and it was merged.

Change subject: Use STRAIGHT_JOIN to work around optimizer bug for 
hidenondamaging=1
......................................................................


Use STRAIGHT_JOIN to work around optimizer bug for hidenondamaging=1

Bug: T146111
Change-Id: Ia6fa8d7ad439373b69659bd282951902a4baea78
---
M includes/Hooks.php
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Ladsgroup: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/Hooks.php b/includes/Hooks.php
index 790f255..7692089 100644
--- a/includes/Hooks.php
+++ b/includes/Hooks.php
@@ -161,6 +161,7 @@
                        $conds[] = 'oresc_probability > '
                                . $dbr->addQuotes( $threshold );
                        $conds['rc_patrolled'] = 0;
+                       $query_options[] = 'STRAIGHT_JOIN';
                }
 
                return true;

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia6fa8d7ad439373b69659bd282951902a4baea78
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ORES
Gerrit-Branch: master
Gerrit-Owner: Catrope <r...@wikimedia.org>
Gerrit-Reviewer: Catrope <r...@wikimedia.org>
Gerrit-Reviewer: Ladsgroup <ladsgr...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to