MediaWiki
REL1_19
|
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. | |
static | isPresent () |
Checks whether PHP has SQLite support. |
This class contains code common to different SQLite-related maintenance scripts.
Definition at line 27 of file sqlite.inc.
static Sqlite::checkSqlSyntax | ( | $ | files | ) | [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
Definition at line 46 of file sqlite.inc.
References $columns, $file, $files, and isPresent().
Referenced by SqliteMaintenance\checkSyntax(), and DatabaseSqliteTest\testEntireSchema().
static Sqlite::isPresent | ( | ) | [static] |
Checks whether PHP has SQLite support.
Definition at line 33 of file sqlite.inc.
References wfDl(), wfRestoreWarnings(), and wfSuppressWarnings().
Referenced by checkSqlSyntax(), and DatabaseSqliteTest\setUp().