Re: Crazy issue with cross database DataObject

From: Date: Fri, 13 May 2005 18:23:54 +0000
Subject: Re: Crazy issue with cross database DataObject
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19197@lists.php.net to get a copy of this message
On 5/10/05, Dan Rossi <pear@electroteque.org> wrote: > Hi there I have a crazy issue where I have one dataobject which is > linked from another database, i am trying to update a table in the > other database, if i return $this->_database it returns the correct db > , however the connection looks like its in the current database. > Should i tweak all of the DataObject code to look like this > $this->_database.$this->__table . It looks like thats the only way to > solve this ! > 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

« previous php.pear.general (#19197) next »