/ Check-in [6399e101]
Login

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

Overview
Comment:Merge the walIteratorInit() fix from trunk.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | memdb
Files: files | file ages | folders
SHA3-256:6399e101d5f6b8582640e0d90783e56042eaa1600db3bd02f8df5e7b01ac1cab
User & Date: drh 2018-03-06 02:00:20
Context
2018-03-06
04:01
Improvements to the memdb VFS. check-in: a14fed69 user: drh tags: memdb
02:00
Merge the walIteratorInit() fix from trunk. check-in: 6399e101 user: drh tags: memdb
2018-03-05
23:23
Fix walIteratorInit() so that it always leaves the iterator as a NULL pointer if an OOM occurs. This fixes an assertion fault introduced by check-in [044b0b65e716bff]. check-in: e5ce256a user: drh tags: trunk
21:19
Merge the session fix from trunk. check-in: 6274cf1f user: drh tags: memdb
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/wal.c.

  1663   1663         p->aSegment[i].aPgno = (u32 *)aPgno;
  1664   1664       }
  1665   1665     }
  1666   1666     sqlite3_free(aTmp);
  1667   1667   
  1668   1668     if( rc!=SQLITE_OK ){
  1669   1669       walIteratorFree(p);
         1670  +    p = 0;
  1670   1671     }
  1671   1672     *pp = p;
  1672   1673     return rc;
  1673   1674   }
  1674   1675   
  1675   1676   /*
  1676   1677   ** Attempt to obtain the exclusive WAL lock defined by parameters lockIdx and