| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
| |
previously defined.
FossilOrigin-Name: 2b2ade92788be623af6f57e37d98994be2cec142
|
|
|
| |
FossilOrigin-Name: b9b30d4f9845d212e2d3206abbf2795099e5d71d
|
|
|
|
|
|
| |
database connection is already active. In particular, reducing mmap_size
will immediately free up process address space.
FossilOrigin-Name: 761177927cb51e4f5e66061ca39cf37edbe8346b
|
|
|
|
|
| |
descriptor to the current global default mmap-limit, not the current global maximum allowable mmap-limit.
FossilOrigin-Name: 1def4ea3a02afc19648f4cd928b247f8fa55da80
|
|
|
|
|
| |
verify that the offset parameter is always non-negative.
FossilOrigin-Name: cf5c3642247fdd34d87f0368594cd7b8f081636a
|
|
|
| |
FossilOrigin-Name: b81e87e72b976e7157a53a50abc5422e2a6c4c39
|
|
|
| |
FossilOrigin-Name: f14d55cf358b0392d3b8cd61dc85f43a610a8edf
|
|
|
|
|
| |
file-systems.
FossilOrigin-Name: 9c7523dabf4aee609287732ce787c9b9a9087e7f
|
|
|
| |
FossilOrigin-Name: 1a1cf5aa86734c832d845e07780262a178188d56
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of "mmap_limit". Also change SQLITE_CONFIG_MMAP_LIMIT and
SQLITE_FCNTL_MMAP_LIMIT to SQLITE_CONFIG_MMAP_SIZE and
SQLITE_FCNTL_MMAP_SIZE, respecctively.
The default mmap_size is now always 0, meaning that
memory mapped I/O is off by default. There is a new compile-time option
SQLITE_MAX_MMAP_SIZE that determines a hard upper bound on the mmap_size.
Setting SQLITE_MAX_MMAP_SIZE to zero disables the memory-mapped I/O logic
and causes it to be omitted from the build. An extra argument is added
to SQLITE_CONFIG_MMAP_SIZE that can optionally lower the SQLITE_MAX_MMAP_SIZE
at start-time. The SQLITE_MAX_MMAP_SIZE is zero for platforms where we
know that it does not work, meaning that it cannot be turned on by mistake
on those platforms.
FossilOrigin-Name: ea1404a10abd7f68e1f8e0708c8a3199d1f79665
|
|
|
|
|
| |
renamed or unlinked or linked to more than one name while the file is open.
FossilOrigin-Name: e238dcf9189c029fbdcf89339e21d9cdd8fbf2c5
|
|
|
|
|
| |
memory mapped I/O really is disabled when SQLITE_DISABLE_MMAP is set.
FossilOrigin-Name: c1e2523c9051782569291fff998140f7e0b70b6d
|
|
|
|
|
| |
mmap limit be set to a value smaller than the current mapping.
FossilOrigin-Name: 360473493ec1a7094a2b1c5436f3b70914a6dfdd
|
|
|
|
|
|
|
| |
existing limit if called with no arguments. Report the default mmap_limit
as part of PRAGMA compile_options. Set the default mmmap_limit to 0 for
all systems other than linux, mac, windows, and solaris.
FossilOrigin-Name: 2d9f1327fe79e40435ce1e2594d7cd9a5aea0ef2
|
|
|
| |
FossilOrigin-Name: 24bab7596bb7385981a5d331df5eeb05353547f7
|
|
|
|
|
| |
_BSD_SOURCE macro. This fixes the build for OpenBSD.
FossilOrigin-Name: 1dd42ef4144ee08fb4ee1676d934a56a0e34bac2
|
|
|
| |
FossilOrigin-Name: b29cda03fe4e8d8f5b5acbbea2d69f284a2bdf23
|
|
|
| |
FossilOrigin-Name: 3098a3c1e7305033904a496ef534cb312a876fab
|
|
|
| |
FossilOrigin-Name: 8198cdd8ac5dcc1c677fffa869ac965186b96abf
|
|
|
|
|
|
|
|
| |
SQLITE_DEFAULT_MMAP_LIMIT compile-time setting. Enhance "PRAGMA mmap_limit"
so that without a specific database name, it sets the limit on all database
files and changes the default for any future databases that might be added
using ATTACH.
FossilOrigin-Name: 78141d0a16dd1d56b575fccd149de7fa789cb06c
|
|
|
|
|
| |
mapping immediately following the first in virtual memory.
FossilOrigin-Name: 4d67433db8fb4754ae6b192945e479f3d7bad579
|
|
|
| |
FossilOrigin-Name: 72813b8ec924b91583c679668f7c4561dff82a02
|
|
|
|
|
|
|
| |
used to issue a hint to the VFS to limit mmap space to N bytes. The VFS
is free to ignore that hint if desired. However, if "PRAGMA mmap_limit(0)"
is used, xFetch is never called.
FossilOrigin-Name: 1b37c4effdd03aa2ea938a71b4f22ed27391689b
|
|
|
|
|
| |
in os_unix.c.
FossilOrigin-Name: 8776047bd776bbf266eb9c3b56683badb84ae73e
|
|
|
| |
FossilOrigin-Name: 431aecc8600c29c203546e48d256510510238887
|
|\
| |
| | |
FossilOrigin-Name: a607d63f0b6a3d3785e9385187d3e6b92e14fc70
|
| |
| |
| | |
FossilOrigin-Name: 6f6e2d50941e444ebc83604daddcc034137a05b7
|
| |
| |
| | |
FossilOrigin-Name: 6ec7367d8e98425f00eeb8215ca8964313c1d0b7
|
| |
| |
| |
| |
| | |
(*xUnfetch)(sqlite3_file*, sqlite3_int64 iOfst, void *p)".
FossilOrigin-Name: 115b830509e8f0aa9d5965c1e9cd4f2ed9d01938
|
| |
| |
| |
| |
| | |
os_unix.c. Rename SQLITE_IOERR_MREMAP to SQLITE_IOERR_MMAP. Fix other small issues in os_unix.c.
FossilOrigin-Name: dce35c01a5fe66d2970075b1e3f0376026485e4c
|
| |
| |
| |
| |
| | |
following an OOM error.
FossilOrigin-Name: 5885ba6ce768658ec25b60747430d147b315b55c
|
| |
| |
| |
| |
| | |
sqlite3_io_methods.xFetch and xUnfetch.
FossilOrigin-Name: 1431be95579160fb70408d43e17fc23c7b69ab4a
|
| |
| |
| | |
FossilOrigin-Name: 19345416ed5e1ab5b0b35993b0b9069c2fb1683b
|
| |
| |
| |
| |
| | |
database file is not being read or written using the xRead() or xWrite() methods.
FossilOrigin-Name: 765615f9fba7c1765eb741cb98a09a28b464ee55
|
| |
| |
| |
| |
| | |
on OSX instead.
FossilOrigin-Name: 5ed8ad780c991d2ca44003ee84350fb5e95ad58e
|
| |
| |
| | |
FossilOrigin-Name: 9529ed88a71fee02fae72dc86f0669bd6856ff92
|
| |
| |
| | |
FossilOrigin-Name: 14135da3cdbafd699563a29608f32347cda28338
|
| |
| |
| |
| |
| | |
"PRAGMA mmap_size".
FossilOrigin-Name: 6183f1bd86ceed76d22d9762f3d7eb33262c62d1
|
|/
|
|
|
| |
unix only for now.
FossilOrigin-Name: 6f21d9cbf5d457e63a7282015a89ae785526cf6d
|
|
|
| |
FossilOrigin-Name: 4f5f3aebe81c3cbe539db3e33ec38fa3de47e90b
|
|
|
|
|
| |
this only immediately after creating a new file (or opening one zero bytes in size).
FossilOrigin-Name: 1d8086902ee96347491bce5ec04dc92ccd42efa1
|
|
|
|
|
|
|
| |
or other string might be less than the length parameter, since optimized
versions of memcmp() might read past the first difference and in so doing
generate an access violation.
FossilOrigin-Name: d73435587ba7459e2e2c32980d0e17abdeceb4bc
|
|
|
|
|
|
| |
the thread using SQLite. Make whatever permission changes are needed using
fchmod() after the file is created, instead.
FossilOrigin-Name: 6c4c2b7dbadedac384d380efd54f12f6ccbf4ca9
|
|
|
|
|
| |
to return a new temporary filename. Per request from NSS team at Mozilla.
FossilOrigin-Name: 1a63b1d5fa5d79f96eddbda6d94bc10248863710
|
|
|
|
|
|
| |
posix_allocate() is available. (It is generally available on Linux
but not on Mac.) Ticket [5eaa61ea1881040b17449ca043b6f8fd9ca55dc3]
FossilOrigin-Name: 597333f1024092b94bcd8772541e19a0f707bd40
|
|
|
|
|
|
|
|
| |
space for mmap()ed -shm files, since posix_fallocate() gives an error if
no disk space is available whereas ftruncate() is silent and leaves the system
vulnerable to a SIGBUS upon first write to the mmap()ed region.
Ticket [5eaa61ea1881040b17449ca043b6f8fd9ca55dc3]
FossilOrigin-Name: 356259617cfad04492a02912fdf781f54a2b4494
|
|
|
|
|
|
| |
SQLITE_IOERR_DELETE_NOENT. The error is still reported up the stack, it
is simply not added to the sqlite3_log().
FossilOrigin-Name: 5a3b07f0f5dfae7eea870303f52f37d6a17f1da2
|
|
|
|
|
| |
SQLITE_IOERR_DELETE_NOENT. Have SQLite ignore these where they are benign and propagate them back to the caller where they may indicate a file-system malfunction of some description.
FossilOrigin-Name: bed9c172ce624ab7b5b9de9ad42444891717ad9a
|
|
|
|
|
| |
[b02849e7bde458].)
FossilOrigin-Name: 63a7dd75e61afb3d05a1434f66ad6a5f08352aad
|
|
|
| |
FossilOrigin-Name: 7b1a6e6cb5099076bf19db142b17c99044a869cd
|