aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2019-10-24 20:29:25 +0000
committerdrh <drh@noemail.net>2019-10-24 20:29:25 +0000
commitc7476735c9b9e377958ab404f0130f3f43a219dc (patch)
tree84b125525773fd68b0d0150b4aab06aceee45dc1 /src/sqliteInt.h
parent035f6d909fcdd2b36320b07aec608a6c75187593 (diff)
downloadsqlite-c7476735c9b9e377958ab404f0130f3f43a219dc.tar.gz
sqlite-c7476735c9b9e377958ab404f0130f3f43a219dc.zip
Fix handling of covering indexes that use virtual columns.
FossilOrigin-Name: e0f7e321eca91c49102649f70728de69347cbd7b16599b854203c24cfdc348e6
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index e2002810f..d8668a278 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -2295,6 +2295,7 @@ struct Index {
unsigned hasStat1:1; /* aiRowLogEst values come from sqlite_stat1 */
unsigned bNoQuery:1; /* Do not use this index to optimize queries */
unsigned bAscKeyBug:1; /* True if the bba7b69f9849b5bf bug applies */
+ unsigned bHasVCol:1; /* Index references one or more VIRTUAL columns */
#ifdef SQLITE_ENABLE_STAT4
int nSample; /* Number of elements in aSample[] */
int nSampleCol; /* Size of IndexSample.anEq[] and so on */