aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2010-12-06 21:06:09 +0000
committerdrh <drh@noemail.net>2010-12-06 21:06:09 +0000
commitf58ee7f1aa1ef87d2c493af096fa8ac72d762cf0 (patch)
treea689363e01fadad2e79844a7bb1bb19ad6046776 /src/sqliteInt.h
parentef4c0598438b409cc7367e7583a3aa01c16b3e3f (diff)
downloadsqlite-f58ee7f1aa1ef87d2c493af096fa8ac72d762cf0.tar.gz
sqlite-f58ee7f1aa1ef87d2c493af096fa8ac72d762cf0.zip
Add the ability to disable constant factoring using sqlite3_test_control().
Add a TCL interface to this new capability and add tests cases to the TCL test scripts to actually use the new capability. FossilOrigin-Name: ad8bc68197f2b47435149c3dbc035f4e7210fc76
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 6e8b768d5..4f0e08ea7 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -934,6 +934,7 @@ struct sqlite3 {
#define SQLITE_IndexSearch 0x08 /* Disable indexes for searching */
#define SQLITE_IndexCover 0x10 /* Disable index covering table */
#define SQLITE_GroupByOrder 0x20 /* Disable GROUPBY cover of ORDERBY */
+#define SQLITE_FactorOutConst 0x40 /* Disable factoring out constants */
#define SQLITE_OptMask 0xff /* Mask of all disablable opts */
/*