From 0af46ac5e13577b469727da03a7794343ed70018 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 23 Apr 2005 12:43:45 +0000 Subject: [PATCH] oops --- includes/QueryPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/QueryPage.php b/includes/QueryPage.php index 82cfc36218..8838d99327 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -132,7 +132,7 @@ class QueryPage { # Do query on the (possibly out of date) slave server $slowDB =& wfGetDB( DB_SLAVE, array( $this->getName(), 'QueryPage-recache', 'vslow' ) ); $maxstored = 1000; - $res = $dbr->query( $sql . $this->getOrder() . $dbr->limitResult( $maxstored,0 ), $fname ); + $res = $slowDB->query( $sql . $this->getOrder() . $dbr->limitResult( $maxstored,0 ), $fname ); # Fetch results $insertSql = "INSERT INTO $querycache (qc_type,qc_namespace,qc_title,qc_value) VALUES "; -- 2.20.1