/ Check-in [83116ee3]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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

Overview
Comment:Fix a harmless compiler warning in VS2013.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 83116ee3e0f2b9110c70a4f73a9badc9c2a56f28
User & Date: drh 2014-02-08 13:24:04
Context
2014-02-08
19:12
Change the OP_Found opcode so that it expands zero-blobs prior to comparing them. Fix for ticket [fccbde530a6583b] check-in: e2303d1b user: drh tags: trunk
13:24
Fix a harmless compiler warning in VS2013. check-in: 83116ee3 user: drh tags: trunk
13:22
Fix a harmless compiler warning in VS2013. check-in: 35f2793d user: drh tags: branch-3.8.3
13:12
Tweaks to the generated VDBE code to make it a little easier to follow. check-in: 129217ee user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/pager.c.

  1679   1679   
  1680   1680   /*
  1681   1681   ** Find a page in the hash table given its page number. Return
  1682   1682   ** a pointer to the page or NULL if the requested page is not 
  1683   1683   ** already in memory.
  1684   1684   */
  1685   1685   static PgHdr *pager_lookup(Pager *pPager, Pgno pgno){
  1686         -  PgHdr *p;                         /* Return value */
         1686  +  PgHdr *p = 0;                     /* Return value */
  1687   1687   
  1688   1688     /* It is not possible for a call to PcacheFetch() with createFlag==0 to
  1689   1689     ** fail, since no attempt to allocate dynamic memory will be made.
  1690   1690     */
  1691   1691     (void)sqlite3PcacheFetch(pPager->pPCache, pgno, 0, &p);
  1692   1692     return p;
  1693   1693   }