From f57044aa87ff4126a4e7c3a147ca5de256d20922 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 10 Apr 2015 02:31:35 -0700 Subject: [PATCH] Made QueryPage::preprocessResults also use the vslow group Change-Id: If5893ef9e2a18684c8cd1ce1b6149742b392a3c3 --- includes/specialpage/QueryPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specialpage/QueryPage.php b/includes/specialpage/QueryPage.php index 1ff7e3fb98..da752f6a1c 100644 --- a/includes/specialpage/QueryPage.php +++ b/includes/specialpage/QueryPage.php @@ -527,7 +527,7 @@ abstract class QueryPage extends SpecialPage { $this->numRows = $res->numRows(); - $dbr = wfGetDB( DB_SLAVE ); + $dbr = $this->getRecacheDB(); $this->preprocessResults( $dbr, $res ); $out->addHTML( Xml::openElement( 'div', array( 'class' => 'mw-spcontent' ) ) ); -- 2.20.1