What will be happen if the app is killed or powered off when update key by sqlite3_rekey?


#1

Is it possible that some pages is encrypted by the new key and the others is encrypted by the old key?
Can it recovered when the app is restart?


#2

Hi @w00152779

No, we create a transaction before we begin the rewrite of each page within the database. You can see that occurring here.

What are you trying to recover?


#3

Thanks for your replay.