mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Remove a NEVER in sqlite3PagerPagecount() that can in fact be true.
FossilOrigin-Name: 8f00533782a0eae5613caaf86608384cb702fc51
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( NEVER(pPager->errCode) ){
|
||||
if( pPager->errCode ){
|
||||
return pPager->errCode;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user