ZF-7946: Zend_Db_Adapter_Oracle triggers E_NOTICE without oci extension

Description

Zend_Db_Adapter_Oracle::_connect() throws an exception if the oci8 extension isn't loaded, but the $_execute_mode member variable is set to OCI_COMMIT_ON_SUCCESS, which gives an E_NOTICE without the extension. The following patch may solve the problem, but I don't know the ins and outs of the Adapter logic so I can't be 100% certain that this won't cause other problems.

Comments

Patch for Zend_Db_Adapter_Oracle

Patch applied on trunk with SVN18414 Reported on 1.9 branch with SVN18415 Thanks.