Increase Table.tabFlags from 8 to 32 bits.

FossilOrigin-Name: 7e14044c65f64322769bcad4640a5896be0a1687
This commit is contained in:
drh 2017-02-16 15:57:30 +00:00
parent b6bf97b384
commit 6f271a421d
3 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
C Remove\stwo\sredundant\sinitializations\sfrom\sthe\svirtual\stable\slogic.
D 2017-02-16T15:06:06.357
C Increase\sTable.tabFlags\sfrom\s8\sto\s32\sbits.
D 2017-02-16T15:57:30.827
F Makefile.in edb6bcdd37748d2b1c3422ff727c748df7ffe918
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
F Makefile.msc 067a6766f800cc8d72845ab61f8de4ffe8f3fc99
@ -399,7 +399,7 @@ F src/shell.c a661e7ccd202b16cb5321999354699e5ee018fb2
F src/sqlite.h.in 751ff125eb159c8f92c182b8df980a5e4f50e966
F src/sqlite3.rc 5121c9e10c3964d5755191c80dd1180c122fc3a8
F src/sqlite3ext.h 8648034aa702469afb553231677306cc6492a1ae
F src/sqliteInt.h b4a3871bda47ff79b4be612a2ab89775fa737583
F src/sqliteInt.h edd1ffa288c28d9aa316ad352a75ce1c12bcc005
F src/sqliteLimit.h c0373387c287c8d0932510b5547ecde31b5da247
F src/status.c a9e66593dfb28a9e746cba7153f84d49c1ddc4b1
F src/table.c b46ad567748f24a326d9de40e5b9659f96ffff34
@ -1556,7 +1556,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
P 6affb1c89d87288cad87dde5a533832cdf06b8aa
R a7d037042c5db23b2b7803c8953ffd29
P 6bd82b95a6b78bb60569af4da58ef4b9f997fe7b
R 5056d17e833da8353f5af9a38b309f26
U drh
Z 51668c807e51ffc5d9cef025e62b59da
Z 46bea1f1d9f6eb27acec6234891ad166

View File

@ -1 +1 @@
6bd82b95a6b78bb60569af4da58ef4b9f997fe7b
7e14044c65f64322769bcad4640a5896be0a1687

View File

@ -1848,6 +1848,7 @@ struct Table {
/* ... also used as column name list in a VIEW */
int tnum; /* Root BTree page for this table */
u32 nTabRef; /* Number of pointers to this Table */
u32 tabFlags; /* Mask of TF_* values */
i16 iPKey; /* If not negative, use aCol[iPKey] as the rowid */
i16 nCol; /* Number of columns in this table */
LogEst nRowLogEst; /* Estimated rows in table - from sqlite_stat1 table */
@ -1855,7 +1856,6 @@ struct Table {
#ifdef SQLITE_ENABLE_COSTMULT
LogEst costMult; /* Cost multiplier for using this table */
#endif
u8 tabFlags; /* Mask of TF_* values */
u8 keyConf; /* What to do in case of uniqueness conflict on iPKey */
#ifndef SQLITE_OMIT_ALTERTABLE
int addColOffset; /* Offset in CREATE TABLE stmt to add a new column */