/ Check-in [39069941]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:In lsm, attempt to unmap the database file before truncating it when disconnecting. A mapped file may not be truncated on win32.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:39069941e98605bc8c7c736819781761760ee2b83363471ceb6f19e5eb06b13a
User & Date: dan 2017-07-11 20:36:35
Context
2017-07-12
12:19
Compile cleanly with SQLITE_OMIT_UTF16. check-in: 783100b8 user: drh tags: trunk
2017-07-11
20:36
In lsm, attempt to unmap the database file before truncating it when disconnecting. A mapped file may not be truncated on win32. check-in: 39069941 user: dan tags: trunk
19:55
Simplify the way in which the database file is truncated when the last connection disconnects. Also ignore the error code from the xTruncate call - as truncating a database file is always optional. check-in: b0a49d90 user: dan tags: trunk
Changes
Unified Diffs Side-by-Side Diffs Patch

Changes to ext/lsm1/lsmInt.h.

Changes to ext/lsm1/lsm_file.c.

Changes to ext/lsm1/lsm_shared.c.