/ Check-in [2b77301b]
Login

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

Overview
Comment:Fix a harmless compiler warning.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 2b77301b9613c7caa02147095d728fd5b65dd120
User & Date: drh 2012-05-11 11:28:40
Context
2012-05-11
15:31
Fix an evidence-mark typo in the comments of sqlite3.h. No changes to code. check-in: 2b074085 user: drh tags: trunk
11:28
Fix a harmless compiler warning. check-in: 2b77301b user: drh tags: trunk
2012-05-10
17:43
Have the FTS auxiliary functions correctly handle terms that appear in non-matching branches of the FTS expression. Fix for [bdc6bbbb38]. check-in: 4d3e1673 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/where.c.

  1721   1721       return 1;
  1722   1722     }
  1723   1723     if( pIdx->onError!=OE_None && i==pIdx->nColumn
  1724   1724         && (wsFlags & WHERE_COLUMN_NULL)==0
  1725   1725         && !referencesOtherTables(pOrderBy, pMaskSet, j, base) 
  1726   1726     ){
  1727   1727       Column *aCol = pIdx->pTable->aCol;
  1728         -    int i;
  1729   1728   
  1730   1729       /* All terms of this index match some prefix of the ORDER BY clause,
  1731   1730       ** the index is UNIQUE, and no terms on the tail of the ORDER BY
  1732   1731       ** refer to other tables in a join. So, assuming that the index entries
  1733   1732       ** visited contain no NULL values, then this index delivers rows in
  1734   1733       ** the required order.
  1735   1734       **