Re: [sqlite] SQLITE3_CANTOPEN

2010-01-15 Thread Max Vlasov
As I think, the code you were surprised to see was a fix for this issue: http://www.mail-archive.com/sqlite-users@sqlite.org/msg35864.html as Jeremy Spiegel in that post wrote > when I try calling DeleteFileW on a file with a handle open on > that file, I see DeleteFileW returning 1 (success)

[sqlite] SQLITE3_CANTOPEN

2010-01-14 Thread Dave Dyer
There is a known problem, at least with NTFS, that deleting the journal file fails unexpectedly, resulting in sqlite3_cantopen. I believe I'm the one who originally reported this problem, but the installed solution isn't quite what I recommended. I'm not sure what OS/File System you are using,