MediaWiki
1.23.0
|
This class contains code common to different SQLite-related maintenance scripts. More...
Static Public Member Functions | |
static | checkSqlSyntax ( $files) |
Checks given files for correctness of SQL syntax. More... | |
static | isPresent () |
Checks whether PHP has SQLite support. More... | |
This class contains code common to different SQLite-related maintenance scripts.
Definition at line 29 of file sqlite.inc.
|
static |
Checks given files for correctness of SQL syntax.
MySQL DDL will be converted to SQLite-compatible during processing. Will throw exceptions on SQL errors
$files |
MWException |
Definition at line 47 of file sqlite.inc.
References $columns, $e, $file, $files, $tables, array(), as, and isPresent().
Referenced by SqliteMaintenance\checkSyntax(), and DatabaseSqliteTest\testEntireSchema().
|
static |
Checks whether PHP has SQLite support.
Definition at line 35 of file sqlite.inc.
Referenced by checkSqlSyntax(), and DatabaseSqliteTest\setUp().