* updated tableName function changed addIdentifierQuotes, added isQuotedIdentifier...
authorJure Kajzer <freakolowsky@users.mediawiki.org>
Fri, 15 Apr 2011 10:48:02 +0000 (10:48 +0000)
committerJure Kajzer <freakolowsky@users.mediawiki.org>
Fri, 15 Apr 2011 10:48:02 +0000 (10:48 +0000)
commit3b916c3763e620bd3c46021c01de5444215722eb
tree82a0e73740a4aae9def6854378ea12904d2ad10b
parent26b32c426dabf3d45e8600bfef5ab6d50487ab2f
* updated tableName function changed addIdentifierQuotes, added isQuotedIdentifier and removeIdentifierQuotes
* quoting objects in Oracle is poorly supported prior to 10g (it still has bugs in 10g) so i wish to avoid it for as long as possible
* i've added /*Q*/ marker to avoid double-prefixing of table names
* tableName quoted parameter is usable only in cases where you call it directly in functions where it might occur that tableName can get called twice it is unusable as the tableName gets prefixed twice

Oracle documentation is generally crappy. They claim a lot of things but some of those claims depend on a gazillion of factors and in case of one of this factors being a bit off have no general solution. Object name quoting is one of such things and is general practice amongst oracle DBAs that if you write the code directly you can use them but if you write abstracted or embedded code it's best to stay away if you can.
includes/db/DatabaseOracle.php
includes/search/SearchOracle.php