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