r75227 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75226‎ | r75227 | r75228 >
Date:09:59, 23 October 2010
Author:maxsem
Status:ok
Tags:
Comment:
Revert r73942, which was itself a revert of r73887. After r75213 it will not cause additional test failures.
Modified paths:
  • /trunk/phase3/includes/db/DatabaseSqlite.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/db/DatabaseSqlite.php
@@ -88,7 +88,7 @@
8989 } catch ( PDOException $e ) {
9090 $err = $e->getMessage();
9191 }
92 - if ( $this->mConn === false ) {
 92+ if ( !$this->mConn ) {
9393 wfDebug( "DB connection error: $err\n" );
9494 if ( !$this->mFailFunction ) {
9595 throw new DBConnectionError( $this, $err );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r73887DatabaseSqlite: better check for error. Noticed by Nikerabbitmaxsem13:46, 28 September 2010
r73942Revert r73887. I blame Nikerabbit!maxsem12:09, 29 September 2010
r75213PDO doesn't seem to like opening nothingmaxsem19:48, 22 October 2010

Status & tagging log