dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
07d9ad0
)
Merge "SQLite syntax checker: Fix support for multiple files"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Fri, 26 Aug 2016 03:37:27 +0000
(
03:37
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Fri, 26 Aug 2016 03:37:27 +0000
(
03:37
+0000)
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" );