Gwendal Roué
a0fddfe7ec
Documentation
2019-12-07 13:47:00 +01:00
Gwendal Roué
7b4dc14485
[breaking] disable double-quoted string literals by default
2019-12-07 13:32:33 +01:00
Gwendal Roué
831ded3ec2
beginReadOnly only increments _readOnlyDepth if it succeeds
2019-12-03 19:18:05 +01:00
Gwendal Roué
bbf8e773f8
Remove useless code
2019-12-03 19:17:35 +01:00
Gwendal Roué
41cd4c2140
Check for aborted transactions before checking for lock prevention
2019-12-03 09:01:03 +01:00
Gwendal Roué
12106387d1
Cleanup
2019-12-03 08:51:10 +01:00
Gwendal Roué
17864d3dcc
Documentation
2019-12-03 08:15:57 +01:00
Gwendal Roué
4e26e8e744
Lock prevention: better error message
2019-12-03 08:13:19 +01:00
Gwendal Roué
7f66c85e67
Cleanup
2019-12-03 08:11:14 +01:00
Gwendal Roué
9efd5965ea
Cleanup
2019-12-02 20:56:06 +01:00
Gwendal Roué
2b4a920732
Cleanup
2019-12-02 20:39:55 +01:00
Gwendal Roué
16025356bf
Adapt lock prevention to the journal mode
2019-12-02 20:27:39 +01:00
Gwendal Roué
f604005b4c
Improve interrupt() documentation
2019-12-01 19:03:47 +01:00
Gwendal Roué
1c318892c9
Documentation
2019-12-01 18:56:06 +01:00
Gwendal Roué
74bb9c11d7
Documentatioon
2019-12-01 18:52:51 +01:00
Gwendal Roué
98dc5df039
Avoid race condition in assertExclusiveLockPrevention
2019-12-01 18:44:23 +01:00
Gwendal Roué
d85a7883bb
Database.assertExclusiveLockPrevention mirrors assertNotInsideAbortedTransactionBlock
2019-12-01 18:34:51 +01:00
Gwendal Roué
d1db8406f4
SQLITE_ABORT_EXCLUSIVE had no real purpose.
2019-12-01 18:26:52 +01:00
Gwendal Roué
b54a8f7fe8
DatabaseWriter.startPreventingExclusiveLock()
2019-12-01 17:59:49 +01:00
Gwendal Roué
c8bb6873be
Add SQLITE_CREATE_VTABLE to authorizer codes that invalidate schema cache
2019-12-01 17:59:49 +01:00
Gwendal Roué
9cdebc45c0
Better assertNotInsideAbortedTransactionBlock
2019-12-01 17:59:49 +01:00
Gwendal Roué
62ef81c5fb
Remove useless code
2019-11-30 21:16:48 +01:00
Gwendal Roué
64cb3091cf
white space
2019-11-30 21:12:53 +01:00
Gwendal Roué
b5ff80e858
Documentation
2019-11-30 21:12:47 +01:00
Gwendal Roué
cae66fd5e0
Documentation
2019-11-30 20:51:24 +01:00
Gwendal Roué
79871e2d00
Documentation
2019-11-30 20:26:18 +01:00
Gwendal Roué
fa1abdff2b
Fix Swiftlint warnings
2019-11-30 19:56:26 +01:00
Gwendal Roué
f3e9c29f82
Monitor aborted transactions
2019-11-30 19:51:55 +01:00
Gwendal Roué
0a83848cfc
DatabaseReader.interrupt()
2019-11-30 15:35:11 +01:00
Gwendal Roué
8f03b5c8f3
Improve Configuration.targetQueue documentation - #651
2019-11-17 17:41:55 +01:00
Gwendal Roué
d9c26a40b4
Fix Swiftlint warning
2019-11-14 08:21:50 +01:00
Gwendal Roué
d983c6407c
Update the list of extended result codes
2019-11-08 09:03:55 +01:00
Gwendal Roué
dfd3e50b9c
Sunset FetchedRecordsController
2019-10-12 14:10:56 +02:00
Gwendal Roué
9d5d7f0216
Database.withSchemaCache
2019-10-10 13:51:00 +02:00
Gwendal Roué
7dd90c4af3
Don’t return Void
2019-10-10 13:49:55 +02:00
Gwendal Roué
b06e4ad298
Make DatabaseSnapshot.reentrantRead actually reentrant
2019-10-10 13:49:39 +02:00
Gwendal Roué
ff21f86341
DatabasePool setup: handle #102 in a savepoint
2019-10-10 13:49:12 +02:00
Gwendal Roué
c89d41adbb
Rename readerConfig to readerConfiguration
2019-10-10 13:48:20 +02:00
Gwendal Roué
b3e1bf6f05
Database.checkpoint
2019-10-10 13:45:01 +02:00
Gwendal Roué
fc57a69672
Rename beginSnapshotTransaction to beginSnapshotTransaction
2019-10-10 13:43:10 +02:00
Gwendal Roué
fdbc0c8ec8
LockedBox: for when one does not need single writer/multiple readers
2019-10-10 13:41:58 +02:00
Gwendal Roué
a08b078c3e
Fix a swiftlint warning
2019-09-26 08:49:57 +02:00
Gwendal Roué
aa1cfb9020
Fix testSynchronizedFTS4Observation
2019-09-26 08:49:44 +02:00
Gwendal Roué
0d961ce48e
Simplify DatabaseRegion.iisModified(by:)
...
There is no "fast path" any longer. Performance impact should be minimal since most observers call `stopObservingDatabaseChangesUntilNextTransaction` on first impactful change anyway.
2019-09-26 06:55:54 +02:00
Gwendal Roué
1b753802dd
Address #620 , but a failing test remains
2019-09-25 20:03:00 +02:00
Gwendal Roué
b2ea9e51d2
Help debugging authorization issues like #620
2019-09-25 17:04:26 +02:00
Gwendal Roué
bf7192cef1
Siimplify Row: Swift has better ARC optimizations now
2019-09-13 19:39:45 +02:00
Gwendal Roué
483728bfbf
Fix typo
2019-09-09 08:43:29 +02:00
Gwendal Roué
7b3275ce45
Make lastErrorCode and lastErrorMessage public
2019-09-04 08:54:06 +02:00
Gwendal Roué
b9e2f35728
Deprecate change(passphrase:), and provide an alternative solution
2019-09-02 09:05:37 +02:00