diff options
author | drh <drh@noemail.net> | 2017-12-08 19:37:04 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-12-08 19:37:04 +0000 |
commit | 7e8515d8bec405f8d17a91a94c9d0d690b0a9ff5 (patch) | |
tree | 6fb4068009e6287fcf4b12885188b67d301712ab /src/sqliteInt.h | |
parent | 21540ae47984b44a70dbc653e2edca27c3ee4735 (diff) | |
download | sqlite-7e8515d8bec405f8d17a91a94c9d0d690b0a9ff5.tar.gz sqlite-7e8515d8bec405f8d17a91a94c9d0d690b0a9ff5.zip |
The query planner tries to avoids using indexes that use unknown collating
functions.
FossilOrigin-Name: 02013fc120bf71a8be3550c696a588af8c92f2209f8e5db530624878ddc8aa7e
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 27b896d67..47d9fc695 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -2172,6 +2172,7 @@ struct Index { unsigned isCovering:1; /* True if this is a covering index */ unsigned noSkipScan:1; /* Do not try to use skip-scan if true */ unsigned hasStat1:1; /* aiRowLogEst values come from sqlite_stat1 */ + unsigned bNoQuery:1; /* Do not use this index to optimize queries */ #ifdef SQLITE_ENABLE_STAT3_OR_STAT4 int nSample; /* Number of elements in aSample[] */ int nSampleCol; /* Size of IndexSample.anEq[] and so on */ @@ -2984,7 +2985,7 @@ struct Parse { int nMem; /* Number of memory cells used so far */ int nOpAlloc; /* Number of slots allocated for Vdbe.aOp[] */ int szOpAlloc; /* Bytes of memory space allocated for Vdbe.aOp[] */ - int iSelfTab; /* Table for associated with an index on expr, or negative + int iSelfTab; /* Table associated with an index on expr, or negative ** of the base register during check-constraint eval */ int iCacheLevel; /* ColCache valid when aColCache[].iLevel<=iCacheLevel */ int iCacheCnt; /* Counter used to generate aColCache[].lru values */ |