On 11/3/16, sanhua.zh <sanhua...@foxmail.com> 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 d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users