php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8993 OCI Result didn't return last error
Submitted: 2001-01-30 03:34 UTC Modified: 2001-02-18 06:45 UTC
From: vgo at nrd dot lt Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.4 OS: Windows 2000
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vgo at nrd dot lt
New email:
PHP Version: OS:

 

 [2001-01-30 03:34 UTC] vgo at nrd dot lt
In documentation stated that:
If the optional stmt|conn|global is not provided, the last error encountered is returned. 

So the error (actulally it was warning) appear on
OCIExecute ( $statement );

OCIError(); returns nothing
OCIError( $statement ); returns normal error


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-18 06:45 UTC] thies@php.net
docs are not correct. please read the user-supplied notes 
on http://www.php.net/manual/en/function.ocierror.php to 
clearify




 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC