As that happens, data hits the write ahead log.
So now, we have our database, but we have this page that's
written in the write ahead log.
What happens here is, if they are separated,
you could have two issues.
One, the database opens, and you have no idea
that there's missing data.
Two, the database won't open, and it says
that it's SQL cipher encrypted.
It's truly not encrypted, but what it needs
is that write ahead log.
My best advice for you, if you are giving someone
a database to do application analysis,
always give them the WAL.
If you see it, you want to give it to them.
Now, what will happen is, eventually, the database
is going to say, hello, WAL, do you have anything in there
that I need to place inside of my database?
And this is called a checkpoint.