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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 - 19 = ?
Subscribe to this entry?

 
 [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-2022 The PHP Group
All rights reserved.
Last updated: Fri Dec 09 16:05:53 2022 UTC