]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Revise the SQLITE_OPEN_NOFOLLOW so that it actually uses O_NOFOLLOW in the
authordrh <drh@noemail.net>
Fri, 22 Nov 2019 00:42:01 +0000 (00:42 +0000)
committerdrh <drh@noemail.net>
Fri, 22 Nov 2019 00:42:01 +0000 (00:42 +0000)
commitc398c65bee850b6b8f24a44852872a27f114535d
tree400756f2c2735468faaa02daa969838df2854778
parentcd30064bd502b9b42a4e0c0e04850f09cefa2617
Revise the SQLITE_OPEN_NOFOLLOW so that it actually uses O_NOFOLLOW in the
open() system call.  This backs out the SQLITE_ACCESS_SYMLINK value but adds
the new SQLITE_OK_SYMLINK return code from the xFullPathname method of
sqlite3_vfs when that routine resolves symbolic links. O_NOFOLLOW is always
included in open() system calls for journal files.

FossilOrigin-Name: 6a64fb6a2da6c98f1e87b55ad5689967e1db4eae2e08345471d95e28cd567e0f
manifest
manifest.uuid
src/btree.c
src/os.c
src/os_unix.c
src/os_win.c
src/pager.c
src/sqlite.h.in
src/test_demovfs.c
src/test_vfs.c