I find some db corrupted and try to find out the reason. After a simple analysis, I found that many of the db pages are empty, which means all bits in this page is zero. This is the reason causing sqlite report db corrupt. I don?t know why this happen, does someone have the same problem ever?
Here is some info, 1. this db is in WAL mode 2. 4% cause corrupt ( from the online data) 3. this db is used for fts 4. I think all db relative operation is locked well