Issues

ZF-7946: Zend_Db_Adapter_Oracle triggers E_NOTICE without oci extension

Issue Type: Patch Created: 2009-09-24T06:03:10.000+0000 Last Updated: 2009-10-27T06:15:27.000+0000 Status: Resolved Fix version(s): - 1.9.4 (13/Oct/09)

Reporter: Chris Buckley (cbuckley) Assignee: Mickael Perraud (mikaelkael) Tags: - Zend_Db_Adapter_Oracle

Related issues: - ZF-8147

Attachments: - patch

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

Posted by Chris Buckley (cbuckley) on 2009-09-24T06:04:27.000+0000

Patch for Zend_Db_Adapter_Oracle

Posted by Mickael Perraud (mikaelkael) on 2009-09-25T10:47:02.000+0000

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

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts