| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
do not become too big or go negative. This was not actually possible in the
current code. The checks are added to make sure some future bug does not
make it possible.
FossilOrigin-Name: daebe3bd2d9bd7b6f876a8110cf5045eb3fee078
|
|
|
|
|
| |
changes to code.
FossilOrigin-Name: 9b19b847533f944f289d93dcdba29c0d67bf251c
|
|
|
| |
FossilOrigin-Name: 7edd10a960d5ff121e470b0549b0aa9fb7760022
|
|
|
| |
FossilOrigin-Name: 70c419a434be77b042a23174483d6a411899eb5d
|
|
|
|
|
| |
change only and really should not effect the code.
FossilOrigin-Name: 8e3025709e4954803919c84f3a810c7c63c60601
|
|
|
|
|
|
| |
O_CLOEXEC at open (preferred) or FD_CLOEXEC in an ioctl after opening. Before
this changes, many files were done this way, but not all.
FossilOrigin-Name: 9efbeb11ae0d480a13ff1353820c12f3a8bff452
|
|
|
| |
FossilOrigin-Name: 1b08fef9451f4d59148548faed115d1a5d0bcd98
|
|
|
| |
FossilOrigin-Name: a8a042a751557d06bf04455ed7629cb29adcd87f
|
|
|
|
|
|
|
| |
will have exactly the same permissions as the original database and any
process that has permission to write to the database can also recover
hot journals.
FossilOrigin-Name: 84b324606adc8437338c086404eb157f30f04130
|
|
|
| |
FossilOrigin-Name: bfbfe05b81919ecc3d6e7be4c24994f795f16582
|