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

Increase test coverage following the introduction of the new

filesize-in-header logic.

FossilOrigin-Name: dbc2c3c0144d2c76aec04f80892302c532947dc8
This commit is contained in:
drh
2010-03-31 02:31:33 +00:00
parent b1299158c7
commit 97b59a56d2
4 changed files with 20 additions and 15 deletions

View File

@@ -2463,7 +2463,7 @@ int sqlite3PagerPagecount(Pager *pPager, int *pnPage){
Pgno nPage; /* Value to return via *pnPage */
/* If the pager is already in the error state, return the error code. */
if( pPager->errCode ){
if( NEVER(pPager->errCode) ){
return pPager->errCode;
}