Closing file handles and statement handles is not particularly drastic. Not
to be encouraged obviously, but no worse than sudden termination of the
program or power-off.


-----Original Message-----
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Igor Tandetnik
Sent: Sunday, 27 June 2010 1:21 PM
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] sqlite3_abort()?

Bill Webster <b...@year0.com.au> wrote:
> Sorry for not being clear enough.
> 
> I meant something that released all open files, blob handles, statement
> handles etc., without terminating the process.
> 
> I guess that this must've been considered and that there is a practical or
> philosophical objection to it.

If your program is in a state where it has completely lost track of its
resources (if it hasn't, it can just clean them up normally), then it's not
clear how it can continue executing and still do something reasonable after
such a drastic intervention.
-- 
Igor Tandetnik

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to