1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Improved error reporting if walLockExclusive() fails.

FossilOrigin-Name: cf962d213abe1b55ebbcfecf1de9d5d61709509d1ce3cbd56d8cf4c9ad65e5a9
This commit is contained in:
drh
2020-07-27 15:01:10 +00:00
parent d3e38b7c0e
commit 8caebb26c5
3 changed files with 10 additions and 11 deletions

View File

@@ -1315,6 +1315,8 @@ finished:
pInfo->aReadMark[i] = READMARK_NOT_USED;
}
walUnlockExclusive(pWal, WAL_READ_LOCK(i), 1);
}else if( rc!=SQLITE_BUSY ){
goto recovery_error;
}
}