Abstract tableName() by adding new function isQuotedIdentifier() to databases.
authorPlatonides <platonides@users.mediawiki.org>
Tue, 12 Apr 2011 16:34:12 +0000 (16:34 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Tue, 12 Apr 2011 16:34:12 +0000 (16:34 +0000)
commita91d6f4caca593c54e6d42588ac58e7a8351c52e
treec072e79156394e668d4cc5cc22be7bb98cd4b3d3
parent86288855bb9f574b84c55c7f5e5dfd279b1cf9bd
Abstract tableName() by adding new function isQuotedIdentifier() to databases.
This fixes bug in DatabaseOracle.php tableName() on line 671 and allows it to call
the parent implementation instead of copying it with different quotes.
Adapt Mssql addIdentifierQuotes(). Replace its addIdentifierQuotes calls with addQuotes
as it's what it really is. The serialize() is probably unneeded, since I don't think it will
ever be called with objects but I kept it anyway.
includes/db/Database.php
includes/db/DatabaseMssql.php
includes/db/DatabaseMysql.php
includes/db/DatabaseOracle.php
includes/db/DatabaseSqlite.php