Mark an always-true conditional as such.

FossilOrigin-Name: ae025cae2266a91d4226bbdb66f82b9d7714750a
This commit is contained in:
drh 2012-10-13 20:55:12 +00:00
parent 06befd1e09
commit aa2db79a2e
3 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
C Modify\sbackup4\stest\sname\sprefix\sto\smake\sthe\sresulting\stest\snames\sunique.
D 2012-10-13T20:20:09.891
C Mark\san\salways-true\sconditional\sas\ssuch.
D 2012-10-13T20:55:12.166
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
F Makefile.in 5f4f26109f9d80829122e0e09f9cda008fa065fb
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@ -162,7 +162,7 @@ F src/os.h 027491c77d2404c0a678bb3fb06286f331eb9b57
F src/os_common.h 92815ed65f805560b66166e3583470ff94478f04
F src/os_unix.c 0d3a39dd576c9f384fd7772a2dadc67b144c6ce7
F src/os_win.c 28bd027791252a4012dffd4d64355a1eb84d761c
F src/pager.c 82f7182b3dbf5f5e776980aa76db2f591564b15e
F src/pager.c 36642c0955c19840b5445e7e9da7b5b0d8235346
F src/pager.h 1109a06578ec5574dc2c74cf8d9f69daf36fe3e0
F src/parse.y f29df90bd3adc64b33114ab1de9fb7768fcf2099
F src/pcache.c f8043b433a57aba85384a531e3937a804432a346
@ -1020,7 +1020,7 @@ F tool/vdbe-compress.tcl f12c884766bd14277f4fcedcae07078011717381
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381
F tool/win/sqlite.vsix 67d8a99aceb56384a81b3f30d6c71743146d2cc9
P af5c9ee4a453f71c03f24ad08824ced6c1b97afb
R 76f740bd7f7fabb5f9d26d6bbed204d3
U mistachkin
Z 51b927d4dccd037a1fd0df2401be8c08
P 637fb1c1b7642ba3a404dde32e40d4a4ad16fe14
R 6411855ed00a2b0cd5f5a66552e9b1b4
U drh
Z 6ad0f8bd893c2352d9cf2f568adda82f

View File

@ -1 +1 @@
637fb1c1b7642ba3a404dde32e40d4a4ad16fe14
ae025cae2266a91d4226bbdb66f82b9d7714750a

View File

@ -5665,7 +5665,7 @@ static int pager_incr_changecounter(Pager *pPager, int isDirectMode){
# define DIRECT_MODE isDirectMode
#endif
if( !pPager->changeCountDone && pPager->dbSize>0 ){
if( !pPager->changeCountDone && ALWAYS(pPager->dbSize>0) ){
PgHdr *pPgHdr; /* Reference to page 1 */
assert( !pPager->tempFile && isOpen(pPager->fd) );