Gwendal Roué
361a482b1e
Enable SQLITE_ENABLE_SNAPSHOT by default and introduce SQLITE_DISABLE_SNAPSHOT
2025-10-12 14:03:09 +02:00
Gwendal Roué
b1b83abd8b
Simplify the compiler checks for the availability of SQLite snapshots
2025-10-04 14:15:13 +02:00
Gwendal Roué
4cfa692ddd
Fix race condition regarding Task cancellation
...
This complements #1797 by making sure read-only transactions complete correctly, even if the task is cancelled.
2025-09-10 07:12:11 +02:00
Gwendal Roué
cc5798cf1e
WALSnapshotTransaction is Sendable
2024-08-26 08:27:34 +02:00
Gwendal Roué
8caf31296f
[BREAKING] Xcode 16+, Swift 6+
2024-08-24 15:43:09 +02:00
Gwendal Roué
d54d0abc07
Fix WALSnapshotTransaction so that it clears its schema cache if needed
2024-03-17 16:13:35 +01:00
Gwendal Roué
5d9b9edfe1
Fix asyncWALSnapshotTransaction usage.
...
We must use its result asynchronously.
2023-03-19 12:39:48 +01:00
Gwendal Roué
0a544dc0d2
Cleanup relationships between SerializedDatabase, WALSnapshotTransaction, and DatabasePool
...
SerializedDatabase hides its allowsUnsafeTransactions property, and makes it thread-safe by protecting it inside its serialized dispatch queue.
WALSnapshotTransaction always notifies when the reader connection is no longer used, and reuses the "isInsideTransaction" wording.
2023-03-17 13:52:29 +01:00
Gwendal Roué
e66dfacab8
WALSnapshotTransaction
2023-03-17 13:52:29 +01:00