On Fri, Jul 23, 2010 at 12:10 PM, Robert McVicar <robert.mcvi...@iongeo.com>wrote:
> I have the occasional instance of my application crashing, leaving > behind a journal file. However, on restart and opening the database > again, it doesn't seem to do any rollback action and I am unable to > write to the database. > Is there a C++ function that is necessary to trigger the rollback or > recovery to remove the journal file and release any locks no the > database? I have tried looking at the documentation, but am unable to > find anything. > The rollback is completely automatic, as is the release of all locks. There is nothing you need to do. Perhaps the reason you cannot write is that you do not have write permission on the database file or on the directory that contains the database file? > > Thanks > > R > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- --------------------- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users