Backup clears the schema cache of the target database

This commit is contained in:
Gwendal Roué committed 2016-06-28 13:07:53 +02:00
1 parent 8992b4a284
commit 48c431c0a9
2 files changed
+2 -1

No files matched your search

+2
View File
@@ -160,6 +160,8 @@ extension DatabaseReader {
case let code:
throw DatabaseError(code: code, message: dbDest.lastErrorMessage)
}
dbDest.clearSchemaCache()
}
}
}
-1
View File
@@ -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