diff options
Diffstat (limited to 'vendor/github.com/ncruces/go-sqlite3/vfs/README.md')
| -rw-r--r-- | vendor/github.com/ncruces/go-sqlite3/vfs/README.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/vendor/github.com/ncruces/go-sqlite3/vfs/README.md b/vendor/github.com/ncruces/go-sqlite3/vfs/README.md index 68cb92dcc..f34e08b64 100644 --- a/vendor/github.com/ncruces/go-sqlite3/vfs/README.md +++ b/vendor/github.com/ncruces/go-sqlite3/vfs/README.md @@ -20,11 +20,12 @@ The main differences to be aware of are ### File Locking POSIX advisory locks, -which SQLite uses on [Unix](https://github.com/sqlite/sqlite/blob/5d60f4/src/os_unix.c#L13-L14), -are [broken by design](https://github.com/sqlite/sqlite/blob/5d60f4/src/os_unix.c#L1074-L1162). +which SQLite uses on [Unix](https://github.com/sqlite/sqlite/blob/41fda52/src/os_unix.c#L13-L14), +are [broken by design](https://github.com/sqlite/sqlite/blob/41fda52/src/os_unix.c#L1188-L1276). Instead, on Linux and macOS, this package uses -[OFD locks](https://gnu.org/software/libc/manual/html_node/Open-File-Description-Locks.html) +[OFD locks](https://sourceware.org/glibc/manual/2.25/html_node/Open-File-Description-Locks.html) to synchronize access to database files. +OFD locks require [Linux 3.15](https://lwn.net/Articles/586904/). This package can also use [BSD locks](https://man.freebsd.org/cgi/man.cgi?query=flock&sektion=2), @@ -73,7 +74,7 @@ to check if your build supports shared memory. ### Blocking Locks -On Windows and macOS, this package implements +On macOS, this package implements [Wal-mode blocking locks](https://sqlite.org/src/doc/tip/doc/wal-lock.md). ### Batch-Atomic Write |
