/ Check-in [6e3dcb6d]
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:Different comment on the alternative cursor fields of VdbeCursor.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | covering-or
Files: files | file ages | folders
SHA1: 6e3dcb6d7d960bb513d9a4a002b6cf5ab7159686
User & Date: drh 2016-01-29 20:58:40
Context
2016-01-29
21:16
Add tests for the change on this branch. check-in: 7cb697f8 user: dan tags: covering-or
20:58
Different comment on the alternative cursor fields of VdbeCursor. check-in: 6e3dcb6d user: drh tags: covering-or
19:29
Experimental attempt to make better use of covering indexes within OR queries. check-in: a323ac3a user: dan tags: covering-or
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/vdbeInt.h.

    97     97       VdbeSorter *pSorter;        /* CURTYPE_SORTER. Sorter object */
    98     98     } uc;
    99     99     Btree *pBt;           /* Separate file holding temporary table */
   100    100     KeyInfo *pKeyInfo;    /* Info about index keys needed by index cursors */
   101    101     int seekResult;       /* Result of previous sqlite3BtreeMoveto() */
   102    102     i64 seqCount;         /* Sequence counter */
   103    103     i64 movetoTarget;     /* Argument to the deferred sqlite3BtreeMoveto() */
   104         -  VdbeCursor *pAltCursor; /* Set by OP_Seek */
   105         -  int *aAltMap;           /* Set by OP_Seek */
          104  +  VdbeCursor *pAltCursor; /* Associated index cursor from which to read */
          105  +  int *aAltMap;           /* Mapping from table to index column numbers */
   106    106   #ifdef SQLITE_ENABLE_COLUMN_USED_MASK
   107    107     u64 maskUsed;         /* Mask of columns used by this cursor */
   108    108   #endif
   109    109   
   110    110     /* Cached information about the header for the data record that the
   111    111     ** cursor is currently pointing to.  Only valid if cacheStatus matches
   112    112     ** Vdbe.cacheCtr.  Vdbe.cacheCtr will never take on the value of