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:
7d3c428
)
Fix revert artefact of r96930
author
Sam Reed
<reedy@users.mediawiki.org>
Tue, 13 Sep 2011 10:59:40 +0000
(10:59 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Tue, 13 Sep 2011 10:59:40 +0000
(10:59 +0000)
includes/db/Database.php
patch
|
blob
|
history
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
1a78a21
..
086faaa
100644
(file)
--- a/
includes/db/Database.php
+++ b/
includes/db/Database.php
@@
-1754,9
+1754,6
@@
abstract class DatabaseBase implements DatabaseType {
} elseif ( $value === null ) {
if ( $mode == LIST_AND || $mode == LIST_OR ) {
$list .= "$field IS ";
} elseif ( $value === null ) {
if ( $mode == LIST_AND || $mode == LIST_OR ) {
$list .= "$field IS ";
- if ( $not ) {
- $list .= "NOT ";
- }
} elseif ( $mode == LIST_SET ) {
$list .= "$field = ";
}
} elseif ( $mode == LIST_SET ) {
$list .= "$field = ";
}
@@
-2966,8
+2963,8
@@
abstract class DatabaseBase implements DatabaseType {
/**
* Get slave lag. Currently supported only by MySQL.
*
/**
* Get slave lag. Currently supported only by MySQL.
*
- * Note that this function will generate a fatal error on many
- * installations. Most callers should use LoadBalancer::safeGetLag()
+ * Note that this function will generate a fatal error on many
+ * installations. Most callers should use LoadBalancer::safeGetLag()
* instead.
*
* @return Database replication lag in seconds
* instead.
*
* @return Database replication lag in seconds