diff options
author | drh <drh@noemail.net> | 2014-07-23 23:57:42 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-07-23 23:57:42 +0000 |
commit | dbd9486d5bada969d2d5abd89edb158eee1d0ec0 (patch) | |
tree | 3be8ef31046ffff967caf029c8c3f26d169c5ff5 /src/sqliteInt.h | |
parent | 11d451eb8a8b01610106b0792be64cfad5b85a45 (diff) | |
download | sqlite-dbd9486d5bada969d2d5abd89edb158eee1d0ec0.tar.gz sqlite-dbd9486d5bada969d2d5abd89edb158eee1d0ec0.zip |
Add experimental "costmult" logic. Only enabled when compiled with
-DSQLITE_ENABLE_COSTMULT.
FossilOrigin-Name: 729ece40885ed7f52c5981364833fc62281a388b
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 7edc04ca4..03f443f47 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1477,6 +1477,9 @@ struct Table { i16 nCol; /* Number of columns in this table */ u16 nRef; /* Number of pointers to this Table */ LogEst szTabRow; /* Estimated size of each table row in bytes */ +#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 |