dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
073ac49
)
oops
author
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 23 Apr 2005 12:43:45 +0000
(12:43 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 23 Apr 2005 12:43:45 +0000
(12:43 +0000)
includes/QueryPage.php
patch
|
blob
|
history
diff --git
a/includes/QueryPage.php
b/includes/QueryPage.php
index
82cfc36
..
8838d99
100644
(file)
--- 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 ";