[plt-scheme] sqlite:finalize statement throws unexpectedly

From: David Storrs (david.storrs at gmail.com)
Date: Mon Oct 12 17:30:10 EDT 2009

On Mon, Oct 12, 2009 at 5:27 PM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
> On Mon, Oct 12, 2009 at 3:19 PM, David Storrs <david.storrs at gmail.com> wrote:

> It can cause a core dump if you finalize twice. This contract avoids
> that problem without hiding the error from the programmer.
[...]
> I agree that it is silly that SQLite errors in this situation. I am
> worried that removing the possibility of error on finalize will hide
> real errors. I am not an expert on its implementation, so I trust the
> API they've developed. FWIW, you can define your own finalize* that is
> implicitly in a with-handlers.

Ah, ok.  Now it makes more sense.  Thanks for taking the time to explain.

--Dks


Posted on the users mailing list.