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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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 Apr 25 16:01:28 2024 UTC