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:
75ff889
)
Fixed getSlavePos() to use the SQL thread fields, not the IO thread fields.
author
Tim Starling
<tstarling@users.mediawiki.org>
Mon, 13 Oct 2008 14:19:25 +0000
(14:19 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Mon, 13 Oct 2008 14:19:25 +0000
(14:19 +0000)
includes/db/Database.php
patch
|
blob
|
history
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
da85801
..
1ca563b
100644
(file)
--- a/
includes/db/Database.php
+++ b/
includes/db/Database.php
@@
-1919,7
+1919,7
@@
class Database {
$res = $this->query( 'SHOW SLAVE STATUS', 'Database::getSlavePos' );
$row = $this->fetchObject( $res );
if ( $row ) {
- return new MySQLMasterPos( $row->
Master_Log_File, $row->Read_Master_Log_P
os );
+ return new MySQLMasterPos( $row->
Relay_Master_Log_File, $row->Exec_master_log_p
os );
} else {
return false;
}