Signal-iOS/SignalServiceKit/src/Storage
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
..
AxolotlStore Swiftify some TSAccountManager code 2023-04-12 18:05:36 -07:00
Database Clean up database checkpointing 2023-04-13 12:21:12 -05:00
Jobs Gifting: add PayPal support 2023-01-18 16:38:57 -06:00
AccountIdFinder.swift Clean up SignalRecipient create & fetch APIs 2023-03-29 18:40:05 -07:00
BaseModel.h Change license to AGPL 2022-10-13 08:25:37 -05:00
BaseModel.m Change license to AGPL 2022-10-13 08:25:37 -05:00
CancelledGroupRing.swift Handle incoming group call rings 2022-11-07 09:48:53 -08:00
FullTextSearchFinder.swift Stop performing searches if they’ve been canceled 2023-04-10 13:38:14 -07:00
FullTextSearchFinderForObjC.swift Make FullTextSearchFinder stateless 2023-02-06 13:33:43 -06:00
MediaGalleryFinder.swift [All media] Add filtering to prerelease builds. 2023-03-03 15:55:13 -08:00
PendingReadReceiptRecord.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
PendingViewedReceiptRecord.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
SSKKeychainStorage.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
SSKMessageSenderJobRecord.h Change license to AGPL 2022-10-13 08:25:37 -05:00
SSKMessageSenderJobRecord.m Change license to AGPL 2022-10-13 08:25:37 -05:00
SSKMessageSenderJobRecord+SDS.swift Gifting: add PayPal support 2023-01-18 16:38:57 -06:00
StorageCoordinator.h Swiftify AppSetup 2023-04-12 17:54:48 -07:00
StorageCoordinator.m Swiftify AppSetup 2023-04-12 17:54:48 -07:00
TSStorageKeys.h Change license to AGPL 2022-10-13 08:25:37 -05:00
TSYapDatabaseObject.h Change license to AGPL 2022-10-13 08:25:37 -05:00
TSYapDatabaseObject.m Change license to AGPL 2022-10-13 08:25:37 -05:00
YDBStorage.h Remove rarely-seen YDB onboarding screen 2023-01-31 10:21:46 -08:00
YDBStorage.m Remove rarely-seen YDB onboarding screen 2023-01-31 10:21:46 -08:00