Gwendal Roué
89899432ba
Failing test for #1390
2023-06-11 13:15:55 +02:00
Gwendal Roué
db01b0063c
Fix a test that relied on observation of every single changes
2023-06-02 15:39:26 +02:00
Gwendal Roué
60ad8a809a
Tests for FilteredRequest.all() and none()
2023-06-02 13:31:02 +02:00
Gwendal Roué
5ab0d18055
Failing tests for non-empty wal files on DatabasePool creation
2023-06-02 09:35:51 +02:00
Gwendal Roué
437b800d8c
Add test for the SQLite file provided by @kustra
...
https://github.com/groue/GRDB.swift/issues/1383#issuecomment-1572897011
2023-06-02 08:34:14 +02:00
Gwendal Roué
b840babb55
Document the intent of #1383 regression tests
2023-06-01 20:15:05 +02:00
Gwendal Roué
4ab8ac8d3f
Failing test for #1383 (async version)
2023-06-01 19:53:34 +02:00
Gwendal Roué
abd3ba39b1
Explicit tests that a DatabasePool can read from a new instance, and from a truncated wal file
2023-06-01 17:20:25 +02:00
Gwendal Roué
d66d2118b5
Failing test for #1383
2023-06-01 17:05:06 +02:00
Gwendal Roué
c02139c045
Default name for newly created indexes
2023-05-25 09:03:09 +02:00
Gwendal Roué
82d28b3167
Bitwise assignment operators &= |= <<= >>=
2023-05-23 08:16:14 +02:00
Gwendal Roué
717c2836ec
Bitwise operators & | ~ << >>
2023-05-23 08:15:04 +02:00
Gwendal Roué
4ff057ac3b
Deprecate table constraints built from SQLExpressible - prefer SQLSpecificExpressible instead
...
Fixes #1371
2023-05-15 12:45:33 +02:00
Gwendal Roué
266efa041c
Expose FetchableRecordDecoder
2023-04-29 17:15:54 +02:00
Gwendal Roué
8b1b3b0396
Fix tests that relied on observation of every single changes
2023-04-29 12:47:25 +02:00
Gwendal Roué
45edf58f9e
Refactor ValueObservationRecorder matching test
2023-04-29 12:47:00 +02:00
Gwendal Roué
d07e8bd3a0
The scenario that leads to the #1362 deadlock
2023-04-18 18:22:47 +02:00
Matt Gallagher
7feaa748a4
Removed some unneeded configuration from the test.
2023-04-18 13:06:05 +10:00
Matt Gallagher
c159638498
A test demonstrating deadlock when observer count exceeds size of DatabasePool.
2023-04-18 12:48:06 +10:00
Gwendal Roué
9011f71247
Fix tests for unavailable wal snapshots
2023-04-15 09:50:46 +02:00
Gwendal Roué
069bce217d
Attempts at finding regression tests for #1362
2023-04-14 08:28:34 +02:00
Gwendal Roué
5a91340671
CHANGELOG
2023-04-13 08:02:41 +02:00
Gwendal Roué
4074fcfcc7
Failing test for #1360
2023-04-12 08:00:19 +02:00
Gwendal Roué
1add9a9752
Fix incorrect test
2023-04-10 11:31:19 +02:00
Gwendal Roué
f6e695a21d
More explicit any/some
2023-04-08 12:01:59 +02:00
Gwendal Roué
81eb6b128f
Failing test for #1357
2023-04-01 14:09:50 +02:00
Gwendal Roué
5facc24ebb
Fix compiler warnings for Swift 5.8
2023-03-22 18:40:37 +01:00
Gwendal Roué
449c243a36
Rename persistentReaderConnections to dbConfiguration.persistentReadOnlyConnections
2023-03-18 11:08:56 +01:00
Gwendal Roué
063877d49c
Configuration.persistentReaderConnections
2023-03-17 13:52:29 +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é
5d7fdeae5a
Fix compiler warnings in tests
2023-03-17 13:52:01 +01:00
Gwendal Roué
0f942c014c
Cleanup
2023-03-14 08:10:56 +01:00
Gwendal Roué
d5a41bd11b
Disable SQLITE_STATIC optimization when there are too many arguments
2023-03-13 19:33:52 +01:00
Gwendal Roué
3382280cc3
Statement.execute(arguments:) uses temporary bindings
...
Inspired by @helje5 in https://hachyderm.io/@helge@mastodon.social/109978514220902036
Thank you!!
Now, onto cursors!
2023-03-11 12:10:25 +01:00
Gwendal Roué
60fa8a630f
Improve Statement.databaseRegion documentation
2023-03-11 12:08:17 +01:00
Gwendal Roué
9ba64c2426
Statement argument validation: fix wrong documentation and strenghten tests
2023-03-11 09:12:37 +01:00
Gwendal Roué
c824b42757
Restore busy timeout tests
...
In the context of #1339
2023-02-25 10:56:56 +01:00
Gwendal Roué
5ed44b94bc
More improvements to RecordTimestamps.md
2023-02-23 07:59:08 +01:00
Gwendal Roué
9f0bd4944b
Cleanup
2023-02-22 08:10:28 +01:00
Gwendal Roué
3fab2db88d
RecordTimestamps.md organization
2023-02-22 08:07:27 +01:00
Gwendal Roué
86bde428bf
Make TimestampedRecord a subprotocol of MutablePersistableRecord
2023-02-22 06:13:32 +01:00
Gwendal Roué
c5045dbe7a
TimestampedRecord.updateChangesWithTimestamp
2023-02-21 22:48:37 +01:00
Gwendal Roué
b0d73f3126
EncodableRecord.databaseChanges(modify:)
2023-02-21 22:48:37 +01:00
Gwendal Roué
9e2eb6c599
Enhance TimestampedRecord
...
In particular, `touch` performs an update on disk, just like the unix command.
2023-02-21 21:42:36 +01:00
Gwendal Roué
3bf73e9f66
TimestampedRecord demo
2023-02-21 08:51:03 +01:00
Gwendal Roué
e9afb04b1e
Test that transaction date is reset after a rollback error
2023-02-18 12:19:56 +01:00
Gwendal Roué
93928a791a
Tests for Transaction Date
2023-02-18 08:31:05 +01:00
Gwendal Roué
17906dc505
Table SQL interpolation
...
Addresses https://github.com/groue/GRDB.swift/issues/1332
2023-02-14 08:58:26 +01:00
Gwendal Roué
ac214e6760
SE-0345: if let shorthand for shadowing an existing optional variable
2023-01-30 08:00:47 +01:00
Gwendal Roué
d3c289a320
Availability checks cleanup
2023-01-22 12:37:40 +01:00