1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Fix minor problems and update comments in pager.c.

FossilOrigin-Name: 92e456374b052aceff356d10317b5b94fcdeaa5c
This commit is contained in:
dan
2010-08-07 16:17:48 +00:00
parent e5953ccdb2
commit 73d66fdb22
5 changed files with 54 additions and 68 deletions

View File

@@ -2044,6 +2044,7 @@ int sqlite3WalBeginReadTransaction(Wal *pWal, int *pChanged){
** read-lock.
*/
void sqlite3WalEndReadTransaction(Wal *pWal){
sqlite3WalEndWriteTransaction(pWal);
if( pWal->readLock>=0 ){
walUnlockShared(pWal, WAL_READ_LOCK(pWal->readLock));
pWal->readLock = -1;