Abstract more methods in DatabaseBase
authorAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 16 Jun 2009 21:00:38 +0000 (21:00 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 16 Jun 2009 21:00:38 +0000 (21:00 +0000)
commit9244ed0c57bda8869b38c54fc036f1741f00f146
tree78b6d8120daa52065de8ce3de134c4626e03e94e
parentfe373536639bbc41ac9af63b5cdafa563c759a2f
Abstract more methods in DatabaseBase

Notably, this will switch conditional() in MySQL from using IF() to
using CASE, like all other DBMSes.  Documentation suggests this works
back to 4.0.  If it's a problem, it's a matter of a few lines to
override it in DatabaseMysql.php.

Also, some extra explanatory comments have been added to a number of
methods in DatabaseBase.
includes/db/Database.php
includes/db/DatabaseIbm_db2.php
includes/db/DatabaseMssql.php
includes/db/DatabaseMysql.php
includes/db/DatabaseOracle.php
includes/db/DatabasePostgres.php
includes/db/DatabaseSqlite.php