MySQL is the only database which quotes identifiers primarily using backticks. Move...
authorDaniel Friesen <dantman@users.mediawiki.org>
Sat, 4 Dec 2010 15:35:36 +0000 (15:35 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Sat, 4 Dec 2010 15:35:36 +0000 (15:35 +0000)
commitaae05c49f84c734b0d920063b92f01d166050fa9
treea53f68483c631c0b54c5cf6ca3ec830003e2a704
parent692ad26f682ae09805c0aafdbb86faafab555c72
MySQL is the only database which quotes identifiers primarily using backticks. Move the backtick based addIdentifierQuotes implementation from the generic into DatabaseMysql and take the duplicated implementation used by oracle, sqlite, ibm_db2, postgresql, and mssql and remove it from all of them migrating it to the generic Database class as the default.
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