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



_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to