r89891 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89890‎ | r89891 | r89892 >
Date:18:45, 11 June 2011
Author:maxsem
Status:ok
Tags:
Comment:
sqlite.php: don't fail after --check-syntax on a non-SQLite DB
Modified paths:
  • /trunk/phase3/maintenance/sqlite.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/sqlite.php
@@ -44,6 +44,7 @@
4545 // Should work even if we use a non-SQLite database
4646 if ( $this->hasOption( 'check-syntax' ) ) {
4747 $this->checkSyntax();
 48+ return;
4849 }
4950
5051 $this->db = wfGetDB( DB_MASTER );

Status & tagging log