PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB » Bug #77

PEAR DB OCI8 calls could suppress output when followed by oci8RaiseError

Details

Submitted2003-10-07 13:59 UTC
Fromcjbj at hotmail dot com
Assigneddanielc
StatusClosed
PackageDB
PHP Version4.3.3
OSWindows 2000
Roadmaps(Not assigned)

Comments

[2003-10-07 13:59 UTC] cjbj at hotmail dot com

Description:
------------
There are several OCI function calls in oci8.php that are not
prefixed with "@" but are immediately followed with
a call to $this->oci8RaiseError(). It mainly occurs with OCIExecute and OCIParse calls. Cleaner error handling
may be achieved if these calls were prefixed with "@".

There are other OCI calls in oci8.php that are not prefixed but do not handle errors. I'm not suggesting these be changed
in this bug; that is probably a larger task.

The affected file has timestamp:
// $Id: oci8.php,v 1.10 2003/06/11 16:42:44 cox Exp $

Reproduce code:
---------------
None at this stage; will produce one if that changes
are perceived to be non-obvious.