For backport to 1.14.
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 15 Jan 2009 06:56:58 +0000 (06:56 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 15 Jan 2009 06:56:58 +0000 (06:56 +0000)
commit4124558d7b40df818337f1d7eeae10c9ee9688e2
tree6ba29c3e6fd76cf5fdf3bbaed7082341ec02dbed
parentb1b72a85f9f7777fd539529fded008d414082f2f
For backport to 1.14.

* Made the upgrader work with SQLite
* Implemented missing schema info functionality in DatabaseSqlite
* Merged the SQLite and MySQL schemas into the one file with the help of some replaceVars() hacks.
* Moved all primary key definitions to the field definition, moved all indexes to CREATE INDEX statements, for best SQLite compatibility.
* Made all autoincrement fields primary keys, as required by SQLite.
* Removed meaningless buzzword from the category table comment
* tables.sql: s/'0'/0/
* In SQLite the index names have DB scope. Renamed archive.usertext_timestamp, user_newtalk.user_id, user_newtalk.user_ip
* SQLite does not support UPDATE with LIMIT by default. Removed all instances I could find.
* Made query errors work in the installer.
* Fixed DatabaseSqlite::lastErrno(), made SQLITE_SCHEMA errors automatically reissue the query as suggested on sqlite-users. Otherwise upgrade breaks.
* Removed miscellaneous status information from getServerVersion(), that's not the place to put it
config/index.php
includes/Exception.php
includes/SiteStats.php
includes/db/Database.php
includes/db/DatabaseSqlite.php
maintenance/sqlite/README [new file with mode: 0644]
maintenance/sqlite/archives/initial-indexes.sql [new file with mode: 0644]
maintenance/sqlite/tables.sql [deleted file]
maintenance/tables.sql
maintenance/updaters.inc