#11550 [Opn->Bgs]: Cannot return a NULL as out parameter of a stored procedure
| From: | kalowsky@php.net | Date: | Wed, 14 Aug 2002 02:55:20 +0000 |
| Subject: | #11550 [Opn->Bgs]: Cannot return a NULL as out parameter of a stored procedure | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16697@lists.php.net to get a copy of this message | ||
ID: 11550
Updated by: kalowsky@php.net
Reported By: g.giunta@libero.it
-Status: Open
+Status: Bogus
Bug Type: Oracle related
Operating System: Windows 95; SCO Openserver 5.0.5
PHP Version: 4.0.4pl1
New Comment:
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
Previous Comments:
------------------------------------------------------------------------
[2001-06-19 03:58:05] g.giunta@libero.it
Returning a NULL value as an OUT parameter of a stored procedure
(oracle 7.3.4 both client & server) I get the following error from a
call to ora_exec:
ORA-01405: fetched column value is NULL --
while processing OCI function OEXEC/OEXN
I've checked the parameter is correctly bound to a php global variable.
I tried defining the same parameter both as OUT and IN_OUT, to no
avail.
I also tried calling the same exact procedure using oci_ functions
instead of ora_, and everything works! (Unfortunately my web server is
sitting on a sco box, so I'm doomed to use oracle 7.3.4 in
production...)
Looking at the description of the error in oracle manuals, I think this
could be a pbl in the use of pro*C (well, whatever the php oracle
extension is written with), but I might be wrong
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11550&edit=1