/ Check-in [1e51bffe]
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 minor deviation from the coding style guidelines.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1e51bffe777587cd05bd7db5e02d6291c3eb8c1a
User & Date: drh 2012-04-27 16:38:11
Context
2012-05-04
02:58
Add an experimental tokenizer to FTS3/4: one that transliterates latin, greek, cyrillic, and hebrew characters into pure ascii. check-in: 93011569 user: drh tags: translit-tokenizer
2012-05-01
14:21
Update a test in io.test to account for [05f98d4eec]. check-in: bfa61e78 user: dan tags: trunk
2012-04-27
16:38
Fix a minor deviation from the coding style guidelines. check-in: 1e51bffe user: drh tags: trunk
01:09
Enhance the processing of ORDER BY clauses on compound queries to better match terms of the order by against expressions in the result set, in order to enable better query optimization. check-in: a49e909c user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/pager.c.

  2999   2999       /* If a WAL transaction is being committed, there is no point in writing
  3000   3000       ** any pages with page numbers greater than nTruncate into the WAL file.
  3001   3001       ** They will never be read by any client. So remove them from the pDirty
  3002   3002       ** list here. */
  3003   3003       PgHdr *p;
  3004   3004       PgHdr **ppNext = &pList;
  3005   3005       nList = 0;
  3006         -    for(p=pList; (*ppNext = p); p=p->pDirty){
         3006  +    for(p=pList; (*ppNext = p)!=0; p=p->pDirty){
  3007   3007         if( p->pgno<=nTruncate ){
  3008   3008           ppNext = &p->pDirty;
  3009   3009           nList++;
  3010   3010         }
  3011   3011       }
  3012   3012       assert( pList );
  3013   3013     }else{