On Wed, Mar 26, 2003 at 08:56:52PM -0500, Peter M. Jansson wrote:
> I think the bottom line is that there is not documentation that says
> AOLserver will clean up database handles that aren't explicitly released,
> so you should not depend on the feature.

So http://aolserver.com/docs/devel/tcl/api/db.html is at best
misleading:

"ns_db releasehandle puts the handle back in the pool. When your
operation has finished running, the server will automatically return
any handles to their pools, so you don't normally have to call this
function."

I may have misunderstood the meaning of "operation".

> "catch" is your friend.  Also, this is one of the things about the current
> adp processing model that's nice, because you can have a script chunk at
> the end of the page that says if the variable that holds the handle is
> non-empty, release it, and it will be executed, even if script chunks
> earlier in the page up-and-die.

Agreed.

--
.------------------------------------------------------------.
| paul cannon                                 [EMAIL PROTECTED] |
| operation misser            http://people.debian.org/~pik/ |


--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list: http://www.aolserver.com/listserv.html
List information and options: http://listserv.aol.com/

Reply via email to