@@ -45,9 +45,7 @@ public final class SQLiteDatabase: DatabaseProtocol, @unchecked Sendable {
4545 public static func makeShared(
4646 path: String ,
4747 busyTimeout: TimeInterval = 5 ,
48- collationSequences: [
49- String : @Sendable ( String , String ) -> ComparisonResult
50- ] = [ : ]
48+ collationSequences: [ String : @Sendable ( String , String ) -> ComparisonResult ] = [ : ]
5149 ) throws -> SQLiteDatabase {
5250 guard path != " :memory: " else {
5351 throw SQLiteError . SQLITE_IOERR
@@ -97,9 +95,7 @@ public final class SQLiteDatabase: DatabaseProtocol, @unchecked Sendable {
9795 public init (
9896 path: String = " :memory: " ,
9997 busyTimeout: TimeInterval = 5 ,
100- collationSequences: [
101- String : @Sendable ( String , String ) -> ComparisonResult ,
102- ] = [ : ]
98+ collationSequences: [ String : @Sendable ( String , String ) -> ComparisonResult ] = [ : ]
10399 ) throws {
104100 database = try Self . open (
105101 at: path,
@@ -747,9 +743,7 @@ private extension SQLiteDatabase {
747743 class func open(
748744 at path: String ,
749745 busyTimeout: TimeInterval ,
750- collationSequences: [
751- String : @Sendable ( String , String ) -> ComparisonResult
752- ]
746+ collationSequences: [ String : @Sendable ( String , String ) -> ComparisonResult ]
753747 ) throws -> Database {
754748 let isInMemory : Bool = {
755749 let p = path. lowercased ( )
0 commit comments