On Thursday, January 06, 2011 11:00 AM, Philip Graham Willoughby wrote:

> [... snip ...]
>
> I would dispense with del_var and instead register commit and
> rollback hooks to clear out declared variables when the transaction
> which declared them ends; this is both more like the behaviour of
> DECLARE and is more defensive in that it will leave things tidy
> without requiring programmers to explicitly free their variables.

I didn't consider the use of hooks -- this is certainly a much better way.

Andy

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to