/ Check-in [96247853]
Login

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

Overview
Comment:Define the sqlite3PagerWalFramesize() function even if SQLITE_OMIT_WAL is used.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 96247853ef3d556a13b899b4c907b9fa2c78d513
User & Date: drh 2012-10-10 12:14:09
Context
2012-10-10
13:59
Fix duplicate test name in whereD.test. check-in: 1182b54a user: mistachkin tags: trunk
12:14
Define the sqlite3PagerWalFramesize() function even if SQLITE_OMIT_WAL is used. check-in: 96247853 user: drh tags: trunk
10:52
Add support for URI filenames in sqlite3_analyzer. check-in: 6dc987d3 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/pager.c.

  6912   6912                              pPager->pageSize, (u8*)pPager->pTmpSpace);
  6913   6913         pPager->pWal = 0;
  6914   6914       }
  6915   6915     }
  6916   6916     return rc;
  6917   6917   }
  6918   6918   
         6919  +#endif /* !SQLITE_OMIT_WAL */
         6920  +
  6919   6921   #ifdef SQLITE_ENABLE_ZIPVFS
  6920   6922   /*
  6921   6923   ** A read-lock must be held on the pager when this function is called. If
  6922   6924   ** the pager is in WAL mode and the WAL file currently contains one or more
  6923   6925   ** frames, return the size in bytes of the page images stored within the
  6924   6926   ** WAL frames. Otherwise, if this is not a WAL database or the WAL file
  6925   6927   ** is empty, return 0.
................................................................................
  6941   6943   void *sqlite3PagerCodec(PgHdr *pPg){
  6942   6944     void *aData = 0;
  6943   6945     CODEC2(pPg->pPager, pPg->pData, pPg->pgno, 6, return 0, aData);
  6944   6946     return aData;
  6945   6947   }
  6946   6948   #endif /* SQLITE_HAS_CODEC */
  6947   6949   
  6948         -#endif /* !SQLITE_OMIT_WAL */
  6949         -
  6950   6950   #endif /* SQLITE_OMIT_DISKIO */