On 11/3/16, sanhua.zh <[email protected]> wrote: > I run in iOS. The mmap is enable in recent version. > So, once a mmap enable, data may lost after os crash unless msync. But I > can’t find anywhere in the source of SQLite call the msync. Is it a bug?
No. Mmap() is only used for reading, not writing. All changes are implemented by calling write() and fsync(). -- D. Richard Hipp [email protected] _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

