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
files with the unix-dotlock VFS. The change is backwards compatible and,
we are told, works better on some network filesystems.
FossilOrigin-Name: e2f08426d7a84a2ac6148f485b7af377201a175b
warnings with either gcc or clang even including FTS4 and RTREE and
both with and without SQLITE_THREADSAFE=0.
FossilOrigin-Name: 39408702a989f907261c298bf0947f3e68bd10fe
to get the clang scan-build utility to report zero problems against the
SQLite core. Clang's static analysis did find one real problem - but it was
in the command-line shell, not in the SQLite core.
FossilOrigin-Name: 60fee9574b0125705787e33c16f116cf188c8323
fdatasync() is not supported on Android. So we disable fdatasync() on
Linux too. It can be reenabled at compile-time for those who really need it.
FossilOrigin-Name: 70b5b309568ac55565558d5456aca1e431cfd26b