aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-07-23 23:57:42 +0000
committerdrh <drh@noemail.net>2014-07-23 23:57:42 +0000
commitdbd9486d5bada969d2d5abd89edb158eee1d0ec0 (patch)
tree3be8ef31046ffff967caf029c8c3f26d169c5ff5 /src/sqliteInt.h
parent11d451eb8a8b01610106b0792be64cfad5b85a45 (diff)
downloadsqlite-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.h3
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