Re: Crazy issue with cross database DataObject
| From: | Justin Patrin | Date: | Sat, 14 May 2005 03:20:20 +0000 |
| Subject: | Re: Crazy issue with cross database DataObject | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-19207@lists.php.net to get a copy of this message | ||
On 5/13/05, Dan Rossi <pear@electroteque.org> wrote:
>
> On 14/05/2005, at 4:23 AM, Justin Patrin wrote:
>
> >
> > This really isn't a crazy issue. It's just an issue.
> >
> > if you do alter DataObject, make sure to also support
> > quote_identifiers.
> >
> > --
> > Justin Patrin
> >
> >
>
> I personally think the safest solution is database.table , so database
> needs the quoteidentifier too then ?
>
If the quote_identifiers config option is set to true then
quoteIdentifiers should be used on all DB, Table, and Field names.
It's already used for some database names in DB_DO code. Note: some
DBs don't allow DB names before table names, so this isn't cross-DB
compatible.
--
Justin Patrin