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
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
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
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
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
ownership to be the same as the original database. This will prevent root
from locking out the original owner of the file.
FossilOrigin-Name: 1254dffe4071656a783cd000b1dd40c975ac18cb
files supplied to the xOpen method. This backs out [2544f233f1]. Also
refactor the fillInUnixFile() routine in os_unix.c to reduce the number
of parameters.
FossilOrigin-Name: cb774b26e13745cfad0d76a71e47466d703e0007
of the syncDir flag to xDelete. Add an assert to prove that the core only
ever uses that one bit.
FossilOrigin-Name: e75fd3b27423272b988921ac0e272f9600818b8c
hardcode the xSectorSize methods of the unix and windows VFSes to return
SQLITE_DEFAULT_SECTOR_SIZE, which is now set to 4096 unless overridden.
FossilOrigin-Name: 03d8362cd2cadab8e1cc5b18a3194152f2bd0a84
wrappers around sqlite3_uri_parameter() combined with internal routines for
converting strings to booleans and 64-bit integers.
FossilOrigin-Name: 83d26b9a9115eadac9e59a33d608bca0ab2519e3
parameter for both unix and windows. Add a file-control to query or disable
the ZERO_DAMAGE setting. Add the -uri option to the "sqlite3" TCL command
in tclsqlite3.c. Allow the sqlite3_uri_parameter() interface to accept a
NULL pointer for its first parameter.
FossilOrigin-Name: c83627b73285f883719845c1b9fe85f378f28dd2
this device characteristic to reduce the required work in journaling.
A side effect is that this changes the default page exists back to 1024
even with the use of statvfs().
FossilOrigin-Name: a0be6ea464695fdf1eaf2b7cf0652778617814f2