diff options
author | drh <drh@noemail.net> | 2013-10-23 00:32:58 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-10-23 00:32:58 +0000 |
commit | 7f9c5dbfe94c94c0055838260ffe3abcf5e190b0 (patch) | |
tree | 8ea9b0708c76d77503b02b3b91b2e60fdb9d93f5 /src/sqliteInt.h | |
parent | bbbdc83b52cc704f1dcc8f1456ad9f1445e3b384 (diff) | |
download | sqlite-7f9c5dbfe94c94c0055838260ffe3abcf5e190b0.tar.gz sqlite-7f9c5dbfe94c94c0055838260ffe3abcf5e190b0.zip |
Build internal data structures appropriately for WITHOUT ROWID tables.
FossilOrigin-Name: 35a3606071685aa5196951f4bdddb136589ea216
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 4565e92a8..8ff95e361 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1594,6 +1594,7 @@ struct Index { unsigned autoIndex:2; /* 1==UNIQUE, 2==PRIMARY KEY, 0==CREATE 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 */ #ifdef SQLITE_ENABLE_STAT3_OR_STAT4 int nSample; /* Number of elements in aSample[] */ int nSampleCol; /* Size of IndexSample.anEq[] and so on */ @@ -2284,6 +2285,8 @@ struct Parse { int nVar; /* Number of '?' variables seen in the SQL so far */ int nzVar; /* Number of available slots in azVar[] */ + u8 addrCrTab; /* Address of OP_CreateTable opcode */ + u8 iPkSortOrder; /* ASC or DESC for INTEGER PRIMARY KEY */ u8 explain; /* True if the EXPLAIN flag is found on the query */ #ifndef SQLITE_OMIT_VIRTUALTABLE u8 declareVtab; /* True if inside sqlite3_declare_vtab() */ |