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

Make sure the SQLITE_Stat34 optimization switch is always 0x800, a value

which is hard-coded in the TH3 test suite.

FossilOrigin-Name: 6aed4ea34c4163c682ad5bb2956fdf4f3a3ad048fefd3edab0fef6761c3783cc
This commit is contained in:
drh
2017-09-30 10:50:34 +00:00
parent 508e2d00f3
commit 24ae373ab1
3 changed files with 11 additions and 10 deletions

View File

@@ -1511,9 +1511,10 @@ struct sqlite3 {
#define SQLITE_OrderByIdxJoin 0x0040 /* ORDER BY of joins via index */
#define SQLITE_Transitive 0x0080 /* Transitive constraints */
#define SQLITE_OmitNoopJoin 0x0100 /* Omit unused tables in joins */
#define SQLITE_Stat34 0x0200 /* Use STAT3 or STAT4 data */
#define SQLITE_CountOfView 0x0400 /* The count-of-view optimization */
#define SQLITE_CursorHints 0x0800 /* Add OP_CursorHint opcodes */
#define SQLITE_CountOfView 0x0200 /* The count-of-view optimization */
#define SQLITE_CursorHints 0x0400 /* Add OP_CursorHint opcodes */
#define SQLITE_Stat34 0x0800 /* Use STAT3 or STAT4 data */
/* TH3 expects the Stat34 ^^^^^^ value to be 0x0800. Don't change it */
#define SQLITE_AllOpts 0xffff /* All optimizations */
/*