aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-09-06 01:35:57 +0000
committerdrh <drh@noemail.net>2014-09-06 01:35:57 +0000
commitd8b77e20fc9bde3a55c1355705287cc23b203b95 (patch)
treec46ae781ae59c7c9253885ea51dd095c28bb0145 /src/sqliteInt.h
parent30c633a097241352a5232feb602bbfb330d7bcdf (diff)
downloadsqlite-d8b77e20fc9bde3a55c1355705287cc23b203b95.tar.gz
sqlite-d8b77e20fc9bde3a55c1355705287cc23b203b95.zip
Query planner heuristic update:
When doing a full table scan on a table that has an equality constraint on an unindexed column, do not allow the estimated number of output rows to be greater than half the total number of rows in the table. FossilOrigin-Name: 73954f93c4c6f880c6e01d0d130e3fed40fd4106
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 7fd999d9e..e56da4edd 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -1159,7 +1159,6 @@ struct sqlite3 {
#define SQLITE_Transitive 0x0200 /* Transitive constraints */
#define SQLITE_OmitNoopJoin 0x0400 /* Omit unused tables in joins */
#define SQLITE_Stat3 0x0800 /* Use the SQLITE_STAT3 table */
-#define SQLITE_AdjustOutEst 0x1000 /* Adjust output estimates using WHERE */
#define SQLITE_AllOpts 0xffff /* All optimizations */
/*