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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user