/ Check-in [e115f258]
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 code indentation. No logic changes.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: e115f2583499df0c7ee991d372bed4b89aa717b10a4e4b10977864390cb4fc11
User & Date: drh 2018-01-02 21:29:42
Context
2018-01-03
01:47
Add another test case (found by OSSFuzz) for the problem fixed in check-in [2846458a] and described by ticket [dc3f932f5a147771]. No changes to code. check-in: 4165fae9 user: drh tags: trunk
01:28
Add support for the "memdb" VFS and the sqlite3_memdb_ptr() and sqlite3_memdb_config() interfaces, to enable an SQLite database to be manipulated as an in-memory object. check-in: fb2ac2d2 user: drh tags: memdb
2018-01-02
21:29
Fix code indentation. No logic changes. check-in: e115f258 user: drh tags: trunk
18:11
In the constraint resolution logic, be careful not to cache column values in registers whose initialization might be bypassed by an OP_NoConflict opcode. Fix for ticket [dc3f932f5a147771] reported by OSSFuzz. check-in: 2846458a user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/pager.c.

  5575   5575       );
  5576   5576       if( rc==SQLITE_OK && pData ){
  5577   5577         if( pPager->eState>PAGER_READER || pPager->tempFile ){
  5578   5578           pPg = sqlite3PagerLookup(pPager, pgno);
  5579   5579         }
  5580   5580         if( pPg==0 ){
  5581   5581           rc = pagerAcquireMapPage(pPager, pgno, pData, &pPg);
  5582         -     }else{
         5582  +      }else{
  5583   5583           sqlite3OsUnfetch(pPager->fd, (i64)(pgno-1)*pPager->pageSize, pData);
  5584   5584         }
  5585   5585         if( pPg ){
  5586   5586           assert( rc==SQLITE_OK );
  5587   5587           *ppPage = pPg;
  5588   5588           return SQLITE_OK;
  5589   5589         }