Bug #51675 [Opn->Fbk]: OCIFetchInto
| From: | johannes@php.net | Date: | Tue, 27 Apr 2010 15:32:01 +0000 |
| Subject: | Bug #51675 [Opn->Fbk]: OCIFetchInto | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-149964@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51675&edit=1
ID: 51675
Updated by: johannes@php.net
Reported by: miguelaabraham at gmail dot com
Summary: OCIFetchInto
-Status: Open
+Status: Feedback
Type: Bug
Package: OCI8 related
Operating System: Itanium IA64
PHP Version: 5.2.13
New Comment:
Please provide a complete script including the SQL and table definition.
Previous Comments:
------------------------------------------------------------------------
[2010-04-27 16:40:43] miguelaabraham at gmail dot com
Description:
------------
function next_record()
{
if ($this->max_rows > 0)
if (count($this->records) >= $this->max_rows)
{
$this->max_reached = true;
return false;
}
$this->currentRecord = array();
return OCIFetchInto($this->stmt, $this->currentRecord,
OCI_ASSOC + OCI_RETURN_NULLS);
}
Actual result:
--------------
[Tue Apr 27 10:35:03 2010] [error] [client xx.x.xx.xxx] PHP Fatal error:
Allowed memory size of 1073741824 bytes exhausted (tried to allocate 76
bytes) in .....
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51675&edit=1