chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Re: Problem with sqlite3 egg


From: Thomas Christian Chust
Subject: [Chicken-users] Re: Problem with sqlite3 egg
Date: Fri, 10 Aug 2007 22:10:25 +0200
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1.4) Gecko/20070509 SeaMonkey/1.1.2

Alejandro Forero Cuervo wrote:

> [...]
> I have one question, though.  In the unlikely chance that a stream
> returned by db-exec doesn't get traversed until the end, the call to
> sqlite3:finalize! won't be made.  Will the garbage collector take care
> of finalizing the sqlite3:statement (by means of a finalizer on the
> statement object) anyway?
> [...]

Hello Alejandro,

by default, no finalizers are registered on the sqlite3 statement and
database objects, but nobody prevents you from doing (set-finalizer!
stmt sqlite3:finalize!) if that is acceptable in your situation.

cu,
Thomas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]