1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Increase the size of the reference count on Table objects to 32 bits.

FossilOrigin-Name: d08b72c38ff6fae6ddf7dc84a54f6d7189876289
This commit is contained in:
drh
2016-12-14 13:54:25 +00:00
parent 5ed7de09b0
commit d07df8e76a
3 changed files with 8 additions and 8 deletions

View File

@@ -1801,9 +1801,9 @@ struct Table {
ExprList *pCheck; /* All CHECK constraints */
/* ... also used as column name list in a VIEW */
int tnum; /* Root BTree page for this table */
u32 nRef; /* Number of pointers to this Table */
i16 iPKey; /* If not negative, use aCol[iPKey] as the rowid */
i16 nCol; /* Number of columns in this table */
u16 nRef; /* Number of pointers to this Table */
LogEst nRowLogEst; /* Estimated rows in table - from sqlite_stat1 table */
LogEst szTabRow; /* Estimated size of each table row in bytes */
#ifdef SQLITE_ENABLE_COSTMULT