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:
3732ba7
)
oops, better skip i/o thread states :)
author
Domas Mituzas
<midom@users.mediawiki.org>
Wed, 21 Jun 2006 16:47:15 +0000
(16:47 +0000)
committer
Domas Mituzas
<midom@users.mediawiki.org>
Wed, 21 Jun 2006 16:47:15 +0000
(16:47 +0000)
includes/Database.php
patch
|
blob
|
history
diff --git
a/includes/Database.php
b/includes/Database.php
index
7af8bd9
..
fc2d67d
100644
(file)
--- a/
includes/Database.php
+++ b/
includes/Database.php
@@
-1818,7
+1818,13
@@
class Database {
*
* Relay log I/O thread does not select databases.
*/
*
* Relay log I/O thread does not select databases.
*/
- if ( $row->User == 'system user' && $row->db != '' ) {
+ if ( $row->User == 'system user' &&
+ $row->State != 'Waiting for master to send event' &&
+ $row->State != 'Connecting to master' &&
+ $row->State != 'Queueing master event to the relay log' &&
+ $row->State != 'Waiting for master update' &&
+ $row->State != 'Requesting binlog dump'
+ ) {
# This is it, return the time (except -ve)
if ( $row->Time > 0x7fffffff ) {
return false;
# This is it, return the time (except -ve)
if ( $row->Time > 0x7fffffff ) {
return false;