mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-10 01:02:56 +03:00
Further test cases for wal2 mode.
FossilOrigin-Name: 9cb5f8dab685f5ea36ad142cfa588dee82e87f3a89e8dcf84e0ee124bb29bc7f
This commit is contained in:
@@ -3109,7 +3109,7 @@ static int walTryBeginRead(Wal *pWal, int *pChanged, int useWal, int cnt){
|
||||
|
||||
rc = walLockShared(pWal, WAL_READ_LOCK(eLock));
|
||||
if( rc!=SQLITE_OK ){
|
||||
return rc;
|
||||
return (rc==SQLITE_BUSY ? WAL_RETRY : rc);
|
||||
}
|
||||
walShmBarrier(pWal);
|
||||
if( memcmp((void *)walIndexHdr(pWal), &pWal->hdr, sizeof(WalIndexHdr)) ){
|
||||
|
Reference in New Issue
Block a user