|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2022 The PHP Group
All rights reserved.
Last updated: Wed Dec 07 03:05:52 2022 UTC