▲ | ulrikrasmussen 2 days ago | |
Yes, in this particular example you could. But in general the database cannot make assumptions that changes are independent of each other. I think SQLite assumes that a failing checksum occurs due to a crash during a write which never finished. A corrupt WAL frame before a valid frame can only occur if the underlying storage is corrupt, but it makes no sense for SQLite to start handling that during replay as it has no way to recover. You could maybe argue that it should emit a warning |