mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
Backup clears the schema cache of the target database
This commit is contained in:
1 parent
8992b4a284
commit
48c431c0a9
2 files changed
+2
-1
No files matched your search
@@ -160,6 +160,8 @@ extension DatabaseReader {
|
||||
case let code:
|
||||
throw DatabaseError(code: code, message: dbDest.lastErrorMessage)
|
||||
}
|
||||
|
||||
dbDest.clearSchemaCache()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
- [ ] FetchRequest: return statement and adapter from a single method
|
||||
- [ ] Clear the database cache on the target database of a backup
|
||||
- [ ] FetchedRecordsController: see if we can replace identity comparison function with a function that returns an Equatable value (beware the generics trouble). See if this can help optimize memory use, and use a sortedMerge() algorithm.
|
||||
- [ ] FetchedRecordsController: see if we can define a IdentifiableRecord protocol which would automatically feed FetchedRecordsController comparison function.
|
||||
- [ ] GRDBCipher: remove limitations on iOS or OS X versions
|
||||
|
||||
Reference in new issue
Block a user