http://www.mediawiki.org/wiki/Special:Code/MediaWiki/73942
Revision: 73942
Author: maxsem
Date: 2010-09-29 12:09:55 +0000 (Wed, 29 Sep 2010)
Log Message:
-----------
Revert r73887. I blame Nikerabbit!
Modified Paths:
--------------
trunk/phase3/includes/db/DatabaseSqlite.php
Modified: trunk/phase3/includes/db/DatabaseSqlite.php
===================================================================
--- trunk/phase3/includes/db/DatabaseSqlite.php 2010-09-29 09:05:47 UTC (rev
73941)
+++ trunk/phase3/includes/db/DatabaseSqlite.php 2010-09-29 12:09:55 UTC (rev
73942)
@@ -88,7 +88,7 @@
} catch ( PDOException $e ) {
$err = $e->getMessage();
}
- if ( !$this->mConn ) {
+ if ( $this->mConn === false ) {
wfDebug( "DB connection error: $err\n" );
if ( !$this->mFailFunction ) {
throw new DBConnectionError( $this, $err );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs