title: How to merge contents of SQLite 3.7 WAL file into main database file
body: <p>With <a href="http://www.sqlite.org/wal.html">WAL (Write-Ahead-Logging)</a> enabled in SQLite 3.7 (which is the default for Core Data on iOS 7), how do I merge/commit the content from the -wal file back into the main database file?</p>