PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_DataObject » Bug #2590

Oracle fetch data [nativecode=ORA-01000: maximum open cursors exceeded]

Details

Submitted2004-10-22 16:21 UTC
Fromp dot kirov at gmail dot com
StatusBogus
PackageDB_DataObject
PHP Version4.3.7
OSLinux
Roadmaps(Not assigned)

Comments

[2004-10-22 16:21 UTC] p dot kirov at gmail dot com

Description:
------------
Maybe there is problem with free resourseies in db abstraction layer (DB/oci8.php) ?
DB_DataObject 1.7.2 stable
DB 1.6.8 stable
This happend in getLinks() method

Reproduce code:
---------------
while ( $this->obj->fetch() ){
$this->obj->getLinks();
.......

}
}

========.links.ini========
[PARTICIPANTS]
CURRENCYID=CURRENCIES:CURRENCYID

Actual result:
--------------
currencies: GET: CURRENCYID 3 Array ( )
currencies: __find: 1
currencies: CONNECT: USING CACHED CONNECTION
currencies: CONNECT: USING CACHED CONNECTION
currencies: CONNECT: USING CACHED CONNECTION
currencies: CONNECT: USING CACHED CONNECTION
currencies: QUERY: SELECT * FROM "CURRENCIES" WHERE "CURRENCIES"."CURRENCYID" = 3
currencies: Query Error: [db_error: message="DB Error: unknown error" code=-1 mode=return level=notice prefix="" info="SELECT * FROM "CURRENCIES" WHERE "CURRENCIES"."CURRENCYID" = 3 [nativecode=ORA-01000: maximum open cursors exceeded]"]
currencies: __find: CHECK autofetchd 1
currencies: __find: DONE

[2004-11-05 16:17 UTC] p dot kirov at gmail dot com

Yes, i slove my problem in this way.