diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2019-05-19 15:00:45 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2019-05-27 00:07:30 +0200 |
commit | 06e459f3ccfb407d7587c470c37328df386b6ff6 (patch) | |
tree | e66cf4343498bfcbcd9785b3f2428951e5806b80 /Changelog | |
parent | 25362c873c7641341f17e9c2e8d17d82cb3d94c5 (diff) |
interimap: Enforce SQLite foreign key constraints.
Setting the 'foreign_keys' PRAGMA during a multi-statement transaction
(when SQLite is not in autocommit mode) is a no-op.
https://www.sqlite.org/pragma.html#pragma_foreign_keys
https://www.sqlite.org/foreignkeys.html#fk_enable
Diffstat (limited to 'Changelog')
-rw-r--r-- | Changelog | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -38,6 +38,8 @@ interimap (0.5) upstream; 'mailboxes' table. - interimap: don't try to delete \NoSelect mailboxes (it's an error per RFC 3501 sec. 6.3.4). + - interimap: SQLite were not enforcing foreign key constraints (setting + the 'foreign_keys' PRAGMA during a transaction is a documented no-op). -- Guilhem Moulin <guilhem@fripost.org> Fri, 10 May 2019 00:58:14 +0200 |