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:
cd367da
)
Log function name for SHOW PROCESSLIST query in getLag().
author
Tim Starling
<tstarling@users.mediawiki.org>
Thu, 30 Apr 2009 05:23:25 +0000
(
05:23
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Thu, 30 Apr 2009 05:23:25 +0000
(
05:23
+0000)
includes/db/Database.php
patch
|
blob
|
history
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
19abd99
..
7f64862
100644
(file)
--- a/
includes/db/Database.php
+++ b/
includes/db/Database.php
@@
-2135,7
+2135,7
@@
class Database {
wfDebug( "getLag: fake slave lagged {$this->mFakeSlaveLag} seconds\n" );
return $this->mFakeSlaveLag;
}
- $res = $this->query( 'SHOW PROCESSLIST' );
+ $res = $this->query( 'SHOW PROCESSLIST'
, __METHOD__
);
# Find slave SQL thread
while ( $row = $this->fetchObject( $res ) ) {
/* This should work for most situations - when default db