Zend Framework

Zend_Db_Adapter_Oracle triggers E_NOTICE without oci extension

Details

  • Type: Patch Patch
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.8.0, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10.0, Next Major Release
  • Fix Version/s: 1.9.4
  • Component/s: Zend_Db_Adapter_Oracle
  • Labels:
    None

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.

Issue Links

Activity

Hide
Chris Buckley added a comment -

Patch for Zend_Db_Adapter_Oracle

Show
Chris Buckley added a comment - Patch for Zend_Db_Adapter_Oracle
Hide
Mickael Perraud added a comment -

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

Show
Mickael Perraud added a comment - Patch applied on trunk with SVN18414 Reported on 1.9 branch with SVN18415 Thanks.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: