|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56627 incorrect iters count for OCIStmtExecute
Submitted: 2005-11-04 13:10 UTC Modified: 2005-11-04 13:11 UTC
From: Assigned: wez (profile)
Status: Closed Package: PDO_OCI (PECL)
PHP Version: 5_1 CVS-2005-11-04 (dev) OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2005-11-04 13:10 UTC]
The following was reported via my blog.

"I got the PHP Win32 Package at ("

Reproduce code:
	ini_set( "display_errors", "1" );
	ini_set( "track_errors", "1" );
	$conn = new PDO( "oci:dbname=oracle", "isoweb", "isoweb" );

	$sth = $conn->prepare( $query );
	while( $row = $sth->fetch() ){
		print "<BR>NOME: " . $row[NOME];
	print_r( $sth->errorInfo() );

	$sth = NULL;
	$conn = NULL;

Expected result:
The query to work

Actual result:
Array ( [0] => HY000 [1] => 24374 [2] => OCIStmtFetch: ORA-24374: define not done before fetch or execute and fetch (ext\pdo_oci\oci_statement.c:446) )

If I try to execute an Update Statement I get:

Array ( [0] => HY000 [1] => 24374 [2] => OCIStmtFetch: ORA-24374: zero iteration count (ext\pdo_oci\oci_statement.c:446) )


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-04 13:11 UTC]
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 21 10:01:30 2024 UTC