Document prepareDatabase call site

Because it willl be easy to forget the context of #508 when we read this code in the future
This commit is contained in:
Gwendal Roué committed 2019-04-09 19:55:45 +02:00
1 parent 6115078e95
commit 82dc51c554
1 file changed
+3
+3
View File
@@ -226,6 +226,9 @@ extension Database {
}
#endif
// Last step before we can start accessing the database.
// This is the opportunity to run SQLCipher configuration
// pragmas such as cipher_page_size, for example.
try configuration.prepareDatabase?(self)
try validateFormat()
configuration.SQLiteConnectionDidOpen?()