dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add more test cases to OldChangesListTest"
[lhc/web/wiklou.git]
/
maintenance
/
sqlite.inc
diff --git
a/maintenance/sqlite.inc
b/maintenance/sqlite.inc
index
43b2598
..
e173190
100644
(file)
--- a/
maintenance/sqlite.inc
+++ b/
maintenance/sqlite.inc
@@
-42,7
+42,7
@@
class Sqlite {
* Will throw exceptions on SQL errors
* @param array|string $files
* @throws MWException
* Will throw exceptions on SQL errors
* @param array|string $files
* @throws MWException
- * @return True if no error or error string in case of errors
+ * @return
bool
True if no error or error string in case of errors
*/
public static function checkSqlSyntax( $files ) {
if ( !Sqlite::isPresent() ) {
*/
public static function checkSqlSyntax( $files ) {
if ( !Sqlite::isPresent() ) {
@@
-59,7
+59,7
@@
class Sqlite {
'blob', // NULL type is omitted intentionally
) );
'blob', // NULL type is omitted intentionally
) );
- $db =
new DatabaseSqliteStandalon
e( ':memory:' );
+ $db =
DatabaseSqlite::newStandaloneInstanc
e( ':memory:' );
try {
foreach ( $files as $file ) {
$err = $db->sourceFile( $file );
try {
foreach ( $files as $file ) {
$err = $db->sourceFile( $file );