* Replaced the mess of every database class implementing filedExists() is its own...
authorMax Semenik <maxsem@users.mediawiki.org>
Fri, 2 Jul 2010 10:01:09 +0000 (10:01 +0000)
committerMax Semenik <maxsem@users.mediawiki.org>
Fri, 2 Jul 2010 10:01:09 +0000 (10:01 +0000)
commit67ebe72ade638f89e940bd1e5d8e31f81d7b7e32
treebd3f964f682184497a29edf22c27631b3b4e0462
parent1989876d586003f975ae861e01eaec8d6aba617e
* Replaced the mess of every database class implementing filedExists() is its own way with one simple function in base class. Verified to work on MySQL, Postgres and SQLite.
* Fixed fieldInfo() on Postgres not using tableName() and thus failing for table user, for example.
* Made fieldInfo() on MySQL return false instead of throwing a query error if table does not exist. This is consistent with other databases' behaviour.
includes/db/Database.php
includes/db/DatabaseIbm_db2.php
includes/db/DatabaseMysql.php
includes/db/DatabaseOracle.php
includes/db/DatabasePostgres.php
includes/db/DatabaseSqlite.php