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

Remove a c++ comment in pager.c. (CVS 3730)

FossilOrigin-Name: e4452e8aede9282feaeeac19d0cdf82b01c3cc19
This commit is contained in:
danielk1977
2007-03-27 17:37:31 +00:00
parent 979f38e5ee
commit 3dedc1985e
3 changed files with 9 additions and 10 deletions

View File

@@ -18,7 +18,7 @@
** file simultaneously, or one process from reading the database while
** another is writing.
**
** @(#) $Id: pager.c,v 1.302 2007/03/27 16:19:52 danielk1977 Exp $
** @(#) $Id: pager.c,v 1.303 2007/03/27 17:37:32 danielk1977 Exp $
*/
#ifndef SQLITE_OMIT_DISKIO
#include "sqliteInt.h"
@@ -3027,8 +3027,7 @@ int sqlite3PagerUnref(DbPage *pPg){
*/
pPager->nRef--;
assert( pPager->nRef>=0 );
// assert( pPager->nRef>0 || !pPager->journalOpen || pPager->journalOff==0 );
if( pPager->nRef==0 && !pPager->exclusiveMode ){
if( pPager->nRef==0 && (!pPager->exclusiveMode || pPager->journalOff>0) ){
pagerUnlockAndRollback(pPager);
}
}