Signal-iOS/SignalServiceKit/src
Evan Hahn 8b2ec27f19
Clean up database checkpointing
This change should have no impact on behavior.

SQLite supports [several different checkpoint modes][0]. We always use
the "TRUNCATE" mode, so we can remove the code that handles different
ones.

We can also stop logging checkpoint results that are [always 0 in
"TRUNCATE" mode][1].

We can also use GRDB's WAL checkpoint method instead of calling SQLite's
API directly.

[0]: https://www.sqlite.org/c3ref/c_checkpoint_full.html
[1]: https://sqlite.org/c3ref/wal_checkpoint_v2.html
2023-04-13 12:21:12 -05:00
..
Account Introduce LocalIdentifiers… 2023-04-12 18:36:45 -07:00
Contacts Swiftify AppSetup 2023-04-12 17:54:48 -07:00
Devices Clean up SignalRecipient create & fetch APIs 2023-03-29 18:40:05 -07:00
groups Swiftify some TSAccountManager code 2023-04-12 18:05:36 -07:00
Messages Swiftify some TSAccountManager code 2023-04-12 18:05:36 -07:00
Network Swiftify some TSAccountManager code 2023-04-12 18:05:36 -07:00
Payments [Payments] Biometry Payments Lock 2023-02-03 12:56:54 -08:00
Protocols Add parsing support for the pni capability 2023-03-24 10:07:39 -07:00
Protos Add EditMessage protos 2023-03-30 15:16:53 -05:00
Remote Attestation Fix warning about var that could be let 2023-03-14 13:31:30 -07:00
Security Fix a few warnings 2023-03-27 16:30:09 -07:00
Storage Clean up database checkpointing 2023-04-13 12:21:12 -05:00
TestUtils Swiftify AppSetup 2023-04-12 17:54:48 -07:00
Util Fix version comparisons of different lengths 2023-04-12 15:43:56 -07:00
SSKEnvironment.h Swiftify AppSetup 2023-04-12 17:54:48 -07:00
SSKEnvironment.m Swiftify AppSetup 2023-04-12 17:54:48 -07:00
TSConstants.swift Tidy App Store URL code 2023-03-24 16:58:33 -05:00