MediaWiki
REL1_22
|
Maintenance script that performs some operations specific to SQLite database backend. More...
Public Member Functions | |
__construct () | |
execute () | |
getDbType () | |
While we use database connection, this simple lie prevents useless --dbpass and. | |
Private Member Functions | |
backup ($fileName) | |
checkSyntax () | |
integrityCheck () | |
vacuum () |
Maintenance script that performs some operations specific to SQLite database backend.
Definition at line 31 of file sqlite.php.
Reimplemented from Maintenance.
Definition at line 32 of file sqlite.php.
References Maintenance\addOption().
SqliteMaintenance::backup | ( | $ | fileName | ) | [private] |
Definition at line 109 of file sqlite.php.
References Maintenance\error(), Maintenance\output(), and wfSuppressWarnings().
Referenced by execute().
SqliteMaintenance::checkSyntax | ( | ) | [private] |
Definition at line 124 of file sqlite.php.
References $files, $result, array(), Sqlite\checkSqlSyntax(), Maintenance\error(), Maintenance\getOption(), and Maintenance\output().
Referenced by execute().
Reimplemented from Maintenance.
Definition at line 51 of file sqlite.php.
References backup(), checkSyntax(), Maintenance\error(), Maintenance\getOption(), Maintenance\hasOption(), integrityCheck(), vacuum(), and wfGetDB().
While we use database connection, this simple lie prevents useless --dbpass and.
--dbuser options from appearing in help message for this script.
Reimplemented from Maintenance.
Definition at line 47 of file sqlite.php.
References Maintenance\DB_NONE.
SqliteMaintenance::integrityCheck | ( | ) | [private] |
Definition at line 95 of file sqlite.php.
References $res, as, Maintenance\error(), and Maintenance\output().
Referenced by execute().
SqliteMaintenance::vacuum | ( | ) | [private] |
Definition at line 78 of file sqlite.php.
References Maintenance\error(), and Maintenance\output().
Referenced by execute().