Closed almas closed 3 years ago
Try setting page_size before key / rekey. There was a similar problem when, when reaching a certain size, the database became broken. https://github.com/resilar/sqleet/issues/42
Try setting page_size before key / rekey. There was a similar problem when, when reaching a certain size, the database became broken.
42
Thank you very much. I will try it.
I used a better-sqlite3-sqleet node package for encrypt database. It's working well. But sometimes some of my user's DB is unexpectedly broken. Is there anyway to fix a sqleet encrypted broken DB?
I could open unbroken DB with same key. (I changed some part of the key for security below)
But broken database can not open:
Didn't run rekey again. Then it is not a key problem. After some insert query DB seems to broke. Please help me.