Re: Re: Looking for a Tester [Oracle]

From: Date: Wed, 26 Sep 2007 01:18:12 +0000
Subject: Re: Re: Looking for a Tester [Oracle]
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-48186@lists.php.net to get a copy of this message
On 9/25/07, Friedmut Hill <friedel@gmx.net> wrote: > Hi, > > should that work with 0.8.1 or CVS only? Because with 0.8.1 it does not. > 0.8.1 === CVS > If I pass the options to MDB2::connect they are present in the > MDB2_Driver_oci8::options array, passing them to MDB2_Schema::factory > has no effect since MDB2_Schema::options does not have these keys. > yeh they should be in the MDB2 options array. > Anyway, they are not used. MDB2 still tries to connect with the database > name from the XML file. Instead of connecting again it should probably > exec an "alter session set current_schema" statement if the database > name is different from the username, but i don't know much about oracle > or MDB2 (not even using it), it's just a thought. > MDB2_Driver_oci8 line 514: function &standaloneExec($query) { $connection = $this->_doConnect( $this->options['DBA_username'], $this->options['DBA_password'], $this->options['persistent'] ); same for standaloneQuery()... When I followed it I noticed that it is assumed the database name as the username when DBA_username is empty. ATM I just don't remember where I read that though. If that option isn't used at all so I would better investigate further... it seems that I am in the wrong way. thank you for your help, iGor.

« previous php.pear.dev (#48186) next »