mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
Enable secure_delete for SQLite.
This commit is contained in:
@@ -100,6 +100,7 @@ class SqliteDatabase extends JdbcDatabase {
|
||||
try {
|
||||
s = c.createStatement();
|
||||
s.execute("PRAGMA foreign_keys = ON");
|
||||
s.execute("PRAGMA secure_delete = ON");
|
||||
s.close();
|
||||
} catch (SQLException e) {
|
||||
tryToClose(s, LOG, WARNING);
|
||||
|
||||
Reference in New Issue
Block a user