mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Add back an ALWAYS() to regain full test coverage.
FossilOrigin-Name: b93f6f3e679c7710f42580a8dd9ce43136376c1d
This commit is contained in:
@@ -5585,7 +5585,7 @@ static int pager_incr_changecounter(Pager *pPager, int isDirectMode){
|
||||
** direct mode, page 1 is always held in cache and hence the PagerGet()
|
||||
** above is always successful - hence the ALWAYS on rc==SQLITE_OK.
|
||||
*/
|
||||
if( !DIRECT_MODE && rc==SQLITE_OK ){
|
||||
if( !DIRECT_MODE && ALWAYS(rc==SQLITE_OK) ){
|
||||
rc = sqlite3PagerWrite(pPgHdr);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user