Skip to content

Commit 9c23339

Browse files
committed
Update GRDB to version 7
1 parent c6b944e commit 9c23339

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let package = Package(
2020
),
2121
.package(
2222
url: "https://github.com/groue/GRDB.swift.git",
23-
from: "6.29.3"
23+
from: "7.4.1"
2424
),
2525
.package(
2626
url: "https://github.com/shareup/precise-iso-8601-date-formatter.git",

Sources/SQLite/SQLiteDatabase.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -757,12 +757,6 @@ private extension SQLiteDatabase {
757757

758758
var config = Configuration()
759759
config.journalMode = isInMemory ? .default : .wal
760-
// NOTE: GRDB recommends `defaultTransactionKind` be set
761-
// to `.immediate` in order to prevent `SQLITE_BUSY`
762-
// errors.
763-
//
764-
// https://swiftpackageindex.com/groue/grdb.swift/v6.24.2/documentation/grdb/databasesharing#How-to-limit-the-SQLITEBUSY-error
765-
config.defaultTransactionKind = .immediate
766760
config.busyMode = .timeout(busyTimeout)
767761
config.observesSuspensionNotifications = true
768762
config.maximumReaderCount = max(

0 commit comments

Comments
 (0)