Index: trunk/phase3/includes/DatabasePostgres.php |
— | — | @@ -155,6 +155,7 @@ |
156 | 156 | |
157 | 157 | $this->mOpened = true; |
158 | 158 | ## If this is the initial connection, setup the schema stuff and possibly create the user |
| 159 | + ## TODO: Move this out of open() |
159 | 160 | if (defined('MEDIAWIKI_INSTALL')) { |
160 | 161 | global $wgDBname, $wgDBuser, $wgDBpassword, $wgDBsuperuser, $wgDBmwschema, |
161 | 162 | $wgDBts2schema; |
— | — | @@ -1177,11 +1178,10 @@ |
1178 | 1179 | /** |
1179 | 1180 | * How lagged is this slave? |
1180 | 1181 | * |
1181 | | - * @return int |
1182 | 1182 | */ |
1183 | 1183 | public function getLag() { |
1184 | 1184 | # Not implemented for PostgreSQL |
1185 | | - return 0; |
| 1185 | + return false; |
1186 | 1186 | } |
1187 | 1187 | |
1188 | 1188 | } // end DatabasePostgres class |