Page_size pragma causes "malformed database schema" error

See this issue: `pragma page_size = ...` causes ErrorCorrupt · Issue #485 · sqlcipher/sqlcipher · GitHub

Thank you!

@epoberezkin

Hello @epoberezkin - SQLCipher used alternate pragmas for changing the page size:

https://www.zetetic.net/sqlcipher/sqlcipher-api/#cipher_page_size

https://www.zetetic.net/sqlcipher/sqlcipher-api/#cipher_default_page_size

Please let us know if those work.

Yes, they work – it’s in the issue I submitted.

It was unexpected though that page_size pragma causes database corruption, so probably worth mentioning it in the docs that it must not be used, and possibly it should be either disabled in the next version(s), or made equivalent.