1
0
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:
drh
2011-01-17 02:24:12 +00:00
parent c6aed5424b
commit c5aae5c90b
3 changed files with 11 additions and 11 deletions

View File

@@ -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);
}