Re: problem in cleanup of cursors in oracle.c - can causephp to die!!
| From: | Stig S. Bakken | Date: | Thu, 22 Apr 1999 12:13:07 +0000 |
| Subject: | Re: problem in cleanup of cursors in oracle.c - can causephp to die!! | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-5206@lists.php.net to get a copy of this message | ||
"Thies C. Arntzen" wrote:
>
> On Thu, 22 Apr 1999, Stig S. Bakken wrote:
>
> > What about not having a list destructor for cursors, but rather release
> > all cursors associated with a connection in the connection destructor?
>
> yups, that's what i think we should do.... but -> how do i traverse a list
> created like:
>
> ORACLE_GLOBAL(php3_oracle_module).le_cursor =
> register_list_destructors(_close_oracur, NULL);
>
> ???
>
> if you could point that out i will get a fix in place!!!
Check out _php3_hash_apply in php3_hash.c
- Stig
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net