diff options
author | dan <dan@noemail.net> | 2020-05-29 11:07:20 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2020-05-29 11:07:20 +0000 |
commit | d31fcd4751745b1fe2e263cd31792debb2e21b52 (patch) | |
tree | b151d83f622333f3464d38e0c7977e87cdc8fb03 /src/os_unix.c | |
parent | 69c093da9830731a8399e7c0b6f2f870a0524136 (diff) | |
download | sqlite-d31fcd4751745b1fe2e263cd31792debb2e21b52.tar.gz sqlite-d31fcd4751745b1fe2e263cd31792debb2e21b52.zip |
Expand upon a comment in os_unix.c. No changes to code.
FossilOrigin-Name: 77933dc4dbe0e0af3b13a14293a8bd684edc5056f4ae9291c6f95d4433bf90ce
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index d51071108..a72f0629f 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -4836,7 +4836,10 @@ static int unixShmLock( ** ** In other words, if this is a blocking lock, none of the locks that ** occur later in the above list than the lock being obtained may be - ** held. */ + ** held. + ** + ** It is not permitted to block on the RECOVER lock. + */ #ifdef SQLITE_ENABLE_SETLK_TIMEOUT assert( (flags & SQLITE_SHM_UNLOCK) || pDbFd->iBusyTimeout==0 || ( (ofst!=2) /* not RECOVER */ |