Re: [sqlite] Question about sqlite3_backup() versus page_size.

2016-10-27 Thread Scott Hess
As soon as I hit Send, I thought of something. This only holds until you actually read the destination database. So in my example code, after the check that the database contains the right data ("e\nf\ng\nh" bit), another page_size check will show 4096 instead of 1024. So the window for this to

[sqlite] Question about sqlite3_backup() versus page_size.

2016-10-27 Thread Scott Hess
Here's an example code for reference: http://pastebin.com/pQdfkneR I just noticed that if you use sqlite3_backup() where the source database page_size isn't the same as the destination database page_size, after a successful backup the destination database continues to report the page_size from