dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f65b8b6
)
SQLite syntax checker: Fix support for multiple files
author
Matthew Flaschen
<mflaschen@wikimedia.org>
Fri, 26 Aug 2016 01:28:45 +0000
(21:28 -0400)
committer
Matthew Flaschen
<mflaschen@wikimedia.org>
Fri, 26 Aug 2016 01:28:45 +0000
(21:28 -0400)
Change-Id: I285965189e4186bc557b8ef86168fb666384e5a8
maintenance/sqlite.php
patch
|
blob
|
history
diff --git
a/maintenance/sqlite.php
b/maintenance/sqlite.php
index
454c506
..
e74a86c
100644
(file)
--- a/
maintenance/sqlite.php
+++ b/
maintenance/sqlite.php
@@
-132,7
+132,7
@@
class SqliteMaintenance extends Maintenance {
$this->error( "Error: SQLite support not found\n" );
}
$files = [ $this->getOption( 'check-syntax' ) ];
- $files
+= $this->mArgs
;
+ $files
= array_merge( $files, $this->mArgs )
;
$result = Sqlite::checkSqlSyntax( $files );
if ( $result === true ) {
$this->output( "SQL syntax check: no errors detected.\n" );