/ Check-in [acb171d4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove a NEVER() that is actually reachable.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: acb171d4cfef2fec8833f761019f5c81f0d138a0
User & Date: drh 2010-08-17 19:49:14
Context
2010-08-18
02:28
Fix some compiler warnings in the MSVC build. check-in: 1f5662b7 user: shaneh tags: trunk
00:24
Merge the 3.7.1 pre-release snapshot changes as of 2010-08-18 into the apple-osx branch. check-in: 866e9286 user: drh tags: apple-osx
2010-08-17
19:49
Remove a NEVER() that is actually reachable. check-in: acb171d4 user: drh tags: trunk
19:40
Suppress harmless compiler warning. check-in: 3f8c068a user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/pager.c.

  5088   5088   ** sub-journal. If the subjInMemory argument is zero, then any required
  5089   5089   ** sub-journal is implemented in-memory if pPager is an in-memory database, 
  5090   5090   ** or using a temporary file otherwise.
  5091   5091   */
  5092   5092   int sqlite3PagerBegin(Pager *pPager, int exFlag, int subjInMemory){
  5093   5093     int rc = SQLITE_OK;
  5094   5094   
  5095         -  if( NEVER(pPager->errCode) ) return pPager->errCode;
         5095  +  if( pPager->errCode ) return pPager->errCode;
  5096   5096     assert( pPager->eState>=PAGER_READER && pPager->eState<PAGER_ERROR );
  5097   5097     pPager->subjInMemory = (u8)subjInMemory;
  5098   5098   
  5099   5099     if( ALWAYS(pPager->eState==PAGER_READER) ){
  5100   5100       assert( pPager->pInJournal==0 );
  5101   5101   
  5102   5102       if( pagerUseWal(pPager) ){