MediaWiki
REL1_24
|
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 115 of file sqlite.php.
References Maintenance\error(), Maintenance\output(), and wfSuppressWarnings().
Referenced by execute().
SqliteMaintenance::checkSyntax | ( | ) | [private] |
Definition at line 130 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 54 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 50 of file sqlite.php.
References Maintenance\DB_NONE.
SqliteMaintenance::integrityCheck | ( | ) | [private] |
Definition at line 100 of file sqlite.php.
References $res, as, Maintenance\error(), and Maintenance\output().
Referenced by execute().
SqliteMaintenance::vacuum | ( | ) | [private] |
Definition at line 83 of file sqlite.php.
References Maintenance\error(), and Maintenance\output().
Referenced by execute().