Re: problem in cleanup of cursors in oracle.c - can causephp to die!!
| From: | Thies C. Arntzen | Date: | Thu, 22 Apr 1999 12:18:10 +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-5208@lists.php.net to get a copy of this message | ||
On Thu, 22 Apr 1999, Stig S. Bakken wrote:
> "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
hmm, that works on a HashTable* and not on the int that's returned by
_register_list_destructors...
so -> how do i get the HashTable from that int????
tc
>
> - 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
>
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany
--
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