#77 [NEW]: PEAR DB OCI8 calls could suppress output when followed by oci8RaiseError
| From: | cjbj at hotmail dot com | Date: | Tue, 07 Oct 2003 13:59:57 +0000 |
| Subject: | #77 [NEW]: PEAR DB OCI8 calls could suppress output when followed by oci8RaiseError | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-22448@lists.php.net to get a copy of this message | ||
From: cjbj at hotmail dot com
Operating system: Windows 2000
PHP version: 4.3.3
PHP Bug Type: DB
Bug description: PEAR DB OCI8 calls could suppress output when followed by oci8RaiseError
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.
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=77&edit=1
--