diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pager.c b/src/pager.c index f7fcd6172..b97c6baf5 100644 --- a/src/pager.c +++ b/src/pager.c @@ -5302,7 +5302,7 @@ int sqlite3PagerCommitPhaseTwo(Pager *pPager){ ** fails - make it so that we never reach this point if we do not hold ** all necessary locks. */ - if( pPager->state<PAGER_RESERVED ) return SQLITE_ERROR; + if( NEVER(pPager->state<PAGER_RESERVED) ) return SQLITE_ERROR; /* An optimization. If the database was not actually modified during ** this transaction, the pager is running in exclusive-mode and is |