mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-10 01:02:56 +03:00
Add explicit !=0 tests in order to suppress warning messages in
Borland-C. Ticket #2985 (CVS 4850) FossilOrigin-Name: d4ab14b974f2249d9d9e5a78ae47f3764a88b657
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
** file simultaneously, or one process from reading the database while
|
||||
** another is writing.
|
||||
**
|
||||
** @(#) $Id: pager.c,v 1.414 2008/03/07 20:14:39 drh Exp $
|
||||
** @(#) $Id: pager.c,v 1.415 2008/03/10 14:12:53 drh Exp $
|
||||
*/
|
||||
#ifndef SQLITE_OMIT_DISKIO
|
||||
#include "sqliteInt.h"
|
||||
@@ -4252,7 +4252,7 @@ int sqlite3PagerWrite(DbPage *pDbPage){
|
||||
sqlite3PagerUnref(pPage);
|
||||
}
|
||||
}
|
||||
}else if( (pPage = pager_lookup(pPager, pg)) ){
|
||||
}else if( (pPage = pager_lookup(pPager, pg))!=0 ){
|
||||
if( pPage->needSync ){
|
||||
needSync = 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user