Commit Graph
2582 Commits
Author SHA1 Message Date
Gwendal Roué cd8fbbe8f2 Add a test for foreign column annotation 2020-01-05 13:45:23 +01:00
Gwendal Roué e5726f3993 throwingFirstError(execute:finally:) 2020-01-05 13:30:12 +01:00
Gwendal Roué 14c3c7865e Move association initialization where they belong 2020-01-03 08:27:15 +01:00
Gwendal Roué 9dd5fd198b Fix documentation bug - #672 2020-01-03 08:09:54 +01:00
Gwendal Roué 2595729c8c Documentation 2020-01-03 08:04:22 +01:00
Gwendal Roué 944f4309a8 Cleanup 2019-12-29 19:06:29 +01:00
Gwendal Roué b302051f87 Cleanup 2019-12-29 18:46:06 +01:00
Gwendal Roué 71d97b04a5 Move code 2019-12-29 18:26:27 +01:00
Gwendal Roué fa5198354a Fix failing tests for deleteAll and updateAll for grouped and joined queries 2019-12-29 17:50:53 +01:00
Gwendal Roué baa9695678 SQLQueryGenerator.grouping(_:) 2019-12-29 17:18:17 +01:00
Gwendal Roué a42a5cc2ca SQLQualifiedRelation.selectOnly(_:) 2019-12-29 16:57:26 +01:00
Gwendal Roué db7edd389f rowid is a unique key 2019-12-29 16:40:57 +01:00
Gwendal Roué e69fb4a0db Remove unused code 2019-12-17 18:58:51 +01:00
Gwendal Roué 5e75f0e0aa [skip travis] remove outdated documentation 2019-12-14 19:45:33 +01:00
Gwendal Roué 4bf5724543 Can't issue ROLLBACK on suspension
This is because this would allow a database modification to run in an aborted transaction
2019-12-13 08:14:49 +01:00
Gwendal Roué 19ba7d67e8 Suspension is fully experimental 2019-12-12 19:26:08 +01:00
Gwendal Roué 6656f72782 Rename "lock prevention" to "suspension" 2019-12-12 08:47:49 +01:00
Gwendal Roué 2b37e28691 remove debugging code 2019-12-09 19:20:02 +01:00
Gwendal Roué 69fc6a0496 Test that RowDecoder won't decode several sub-records from the root row - addresses #664 2019-12-09 19:09:27 +01:00
Gwendal Roué 580fa6a554 Merge pull request #662 from groue/dev/SQLite3.30.1
Upgrade custom SQLite builds to version 3.30.1
2019-12-09 08:06:45 +01:00
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é 7208f53176 Support for NULLS FIRST and NULLS LAST 2019-12-07 12:31:58 +01:00
Gwendal Roué aa536813d9 Add request type inference - cc @pakko972 2019-12-07 10:24:15 +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