if(w != Write::NORMAL) { dbg_assert() }
in the beginning of all methods and leave the rest untouchedif(w != Write::Normal) { return false; }
engine/
if(w != Write::Normal && w != Write::NORMAL_FAILED) { return false; }
to keep writing into sqlite on failure. The function is called on every query with Write::WRITE_BACKUP
and later on success with Write::WRITE_SUCCEEDED
.true
for error