/ Check-in [5f35c8cb]
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 an FTS4 problem introduced by [361084e1eb].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 5f35c8cb8f8b67121c70f98c02c4aa7c25327690
User & Date: dan 2013-08-21 15:45:27
Context
2013-08-21
15:52
Performance enhancement in btreeParseCellPtr(). check-in: a17190a2 user: drh tags: trunk
15:45
Fix an FTS4 problem introduced by [361084e1eb]. check-in: 5f35c8cb user: dan tags: trunk
12:04
Candidate fix for [d666d600a6]. check-in: 781592f3 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/fts3/fts3_write.c.

  5131   5131                 fts3PendingListAppend(&pDef->pList, iDocid, i, iPos, &rc);
  5132   5132               }
  5133   5133             }
  5134   5134           }
  5135   5135           if( pTC ) pModule->xClose(pTC);
  5136   5136           if( rc==SQLITE_DONE ) rc = SQLITE_OK;
  5137   5137         }
         5138  +    }
  5138   5139   
  5139         -      for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
  5140         -        if( pDef->pList ){
  5141         -          rc = fts3PendingListAppendVarint(&pDef->pList, 0);
  5142         -        }
         5140  +    for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
         5141  +      if( pDef->pList ){
         5142  +        rc = fts3PendingListAppendVarint(&pDef->pList, 0);
  5143   5143         }
  5144   5144       }
  5145   5145     }
  5146   5146   
  5147   5147     return rc;
  5148   5148   }
  5149   5149