diff options
author | dan <Dan Kennedy> | 2025-02-12 08:07:10 +0000 |
---|---|---|
committer | dan <Dan Kennedy> | 2025-02-12 08:07:10 +0000 |
commit | 41f29806a1c59fec8109e4d8ab3d7d52e0036834 (patch) | |
tree | dbbd464e00c115d9ef78680945d55a0d676760a6 /src | |
parent | e5769f6525ef93e668ff398fc930437cbe5bca10 (diff) | |
download | sqlite-41f29806a1c59fec8109e4d8ab3d7d52e0036834.tar.gz sqlite-41f29806a1c59fec8109e4d8ab3d7d52e0036834.zip |
Fix test script errors in walsetlk3.test. Tests still don't all pass.
FossilOrigin-Name: 56eb4114f8bf9971960998ae0b79352767657ee19b5bdfec5149906e72ba170f
Diffstat (limited to 'src')
-rw-r--r-- | src/os_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_win.c b/src/os_win.c index 88701d5d1..1d090dbf4 100644 --- a/src/os_win.c +++ b/src/os_win.c @@ -3630,7 +3630,7 @@ static int winUnlock(sqlite3_file *id, int locktype){ type = pFile->locktype; if( type>=EXCLUSIVE_LOCK ){ winUnlockFile(&pFile->h, SHARED_FIRST, 0, SHARED_SIZE, 0); - if( locktype==SHARED_LOCK && !winGetReadLock(pFile) ){ + if( locktype==SHARED_LOCK && !winGetReadLock(pFile, 0) ){ /* This should never happen. We should always be able to ** reacquire the read lock */ rc = winLogError(SQLITE_IOERR_UNLOCK, osGetLastError(), |