Index: trunk/phase3/includes/db/Database.php |
— | — | @@ -1754,9 +1754,6 @@ |
1755 | 1755 | } elseif ( $value === null ) { |
1756 | 1756 | if ( $mode == LIST_AND || $mode == LIST_OR ) { |
1757 | 1757 | $list .= "$field IS "; |
1758 | | - if ( $not ) { |
1759 | | - $list .= "NOT "; |
1760 | | - } |
1761 | 1758 | } elseif ( $mode == LIST_SET ) { |
1762 | 1759 | $list .= "$field = "; |
1763 | 1760 | } |
— | — | @@ -2966,8 +2963,8 @@ |
2967 | 2964 | /** |
2968 | 2965 | * Get slave lag. Currently supported only by MySQL. |
2969 | 2966 | * |
2970 | | - * Note that this function will generate a fatal error on many |
2971 | | - * installations. Most callers should use LoadBalancer::safeGetLag() |
| 2967 | + * Note that this function will generate a fatal error on many |
| 2968 | + * installations. Most callers should use LoadBalancer::safeGetLag() |
2972 | 2969 | * instead. |
2973 | 2970 | * |
2974 | 2971 | * @return Database replication lag in seconds |