From 4ae61d1424bc3e2e99a59a56b7246861f8e18174 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Sat, 11 Jun 2011 18:45:56 +0000 Subject: [PATCH] sqlite.php: don't fail after --check-syntax on a non-SQLite DB --- maintenance/sqlite.php | 1 + 1 file changed, 1 insertion(+) diff --git a/maintenance/sqlite.php b/maintenance/sqlite.php index 4cd225d470..dc8a430eb0 100644 --- a/maintenance/sqlite.php +++ b/maintenance/sqlite.php @@ -44,6 +44,7 @@ class SqliteMaintenance extends Maintenance { // Should work even if we use a non-SQLite database if ( $this->hasOption( 'check-syntax' ) ) { $this->checkSyntax(); + return; } $this->db = wfGetDB( DB_MASTER ); -- 2.20.1