From: Tim Starling Date: Tue, 17 Feb 2009 03:07:41 +0000 (+0000) Subject: Live patch: use a query group for CategoryPage X-Git-Tag: 1.31.0-rc.0~42862 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=cd7b2f50fe27e53635211ec2301f1414d54e0632;p=lhc%2Fweb%2Fwiklou.git Live patch: use a query group for CategoryPage --- diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index 4baa41388b..03ecb5dcf7 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -206,7 +206,7 @@ class CategoryViewer { } function doCategoryQuery() { - $dbr = wfGetDB( DB_SLAVE ); + $dbr = wfGetDB( DB_SLAVE, 'category' ); if( $this->from != '' ) { $pageCondition = 'cl_sortkey >= ' . $dbr->addQuotes( $this->from ); $this->flip = false;