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:
4c369e6
)
fixed bug with masterPosWait()
author
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 23 Jul 2004 12:36:22 +0000
(12:36 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 23 Jul 2004 12:36:22 +0000
(12:36 +0000)
includes/Database.php
patch
|
blob
|
history
diff --git
a/includes/Database.php
b/includes/Database.php
index
29d7e96
..
2771995
100644
(file)
--- a/
includes/Database.php
+++ b/
includes/Database.php
@@
-818,9
+818,9
@@
class Database {
}
# Do a SELECT MASTER_POS_WAIT()
- function masterPosWait( $file, $pos ) {
+ function masterPosWait( $file, $pos
, $timeout
) {
$encFile = $this->strencode( $file );
- $sql = "SELECT MASTER_POS_WAIT('$encFile', $pos)";
+ $sql = "SELECT MASTER_POS_WAIT('$encFile', $pos
, $timeout
)";
$res = $this->query( $sql, "Database::masterPosWait" );
if ( $res && $row = $this->fetchRow( $res ) ) {
$this->freeResult( $res );