Re: [sqlite] journal file is not removed when ATOMIC WRITE is enabled

2014-12-29 Thread Dan Kennedy
On 12/29/2014 07:57 AM, Yongil Jang wrote: For more information, In pager_end_transaction() function, int bDelete = (!pPager->tempFile && sqlite3JournalExists(pPager->jfd)); <-- sqlite3JournalExists() returns 0 I think both of pager_end_transaction() and sqlite3JournalExists() functions work

Re: [sqlite] journal file is not removed when ATOMIC WRITE is enabled

2014-12-28 Thread Yongil Jang
For more information, In pager_end_transaction() function, int bDelete = (!pPager->tempFile && sqlite3JournalExists(pPager->jfd)); <-- sqlite3JournalExists() returns 0 I think both of pager_end_transaction() and sqlite3JournalExists() functions work properly in this scenario. However, could

[sqlite] journal file is not removed when ATOMIC WRITE is enabled

2014-12-28 Thread Yongil Jang
Dear developers, Please, look at following instructions. 1) Add SQLITE_IOCAP_ATOMIC or SQLITE_IOCAP_ATOMIC4K flags to unixDeviceCharacteristics() function (or any OS related functions) 2) Add SQLITE_ENABLE_ATOMIC_WRITE to compile option 3) Compile 4) run sqlite3 - sqlite3 test.db 5) sqlite>