diff options
author | drh <drh@noemail.net> | 2013-10-23 01:57:32 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-10-23 01:57:32 +0000 |
commit | ec95c4417559b3f9c0fc43886bed9219c78a48bf (patch) | |
tree | c657737b1eed6149704d42cda86efccd8476cdf7 /src/sqliteInt.h | |
parent | 7f9c5dbfe94c94c0055838260ffe3abcf5e190b0 (diff) | |
download | sqlite-ec95c4417559b3f9c0fc43886bed9219c78a48bf.tar.gz sqlite-ec95c4417559b3f9c0fc43886bed9219c78a48bf.zip |
Some simple inserts and queries working on WITHOUT ROWID tables.
FossilOrigin-Name: 3f8016dee24213ec83a02d71ad2698789cc3a818
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 8ff95e361..43cf27436 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1427,6 +1427,9 @@ struct Table { # define IsHiddenColumn(X) 0 #endif +/* Does the table have a rowid */ +#define HasRowid(X) (((X)->tabFlags & TF_WithoutRowid)==0) + /* ** Each foreign key constraint is an instance of the following structure. ** @@ -1595,6 +1598,7 @@ struct Index { unsigned bUnordered:1; /* Use this index for == or IN queries only */ unsigned uniqNotNull:1; /* True if UNIQUE and NOT NULL for all columns */ unsigned isResized:1; /* True if resizeIndexObject() has been called */ + unsigned isCovering:1; /* True if this is a covering index */ #ifdef SQLITE_ENABLE_STAT3_OR_STAT4 int nSample; /* Number of elements in aSample[] */ int nSampleCol; /* Size of IndexSample.anEq[] and so on */ |