diff --git a/src/sql.rs b/src/sql.rs index 15f72cf28..a83945cac 100644 --- a/src/sql.rs +++ b/src/sql.rs @@ -84,7 +84,8 @@ impl Sql { .with_flags(open_flags) .with_init(|c| { c.execute_batch(&format!( - "PRAGMA secure_delete=on; + "PRAGMA cipher_memory_security = OFF; -- Too slow on Android + PRAGMA secure_delete=on; PRAGMA busy_timeout = {}; PRAGMA temp_store=memory; -- Avoid SQLITE_IOERR_GETTEMPPATH errors on Android ",