aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2022-11-22 19:56:54 +0000
committerdrh <>2022-11-22 19:56:54 +0000
commitc7c5b8a508a2f941b00d43f5f1aa413e7cc1b171 (patch)
tree92006a4dceec72abd763789fae71526102913232 /src
parent5d7aef16bffb21331e7724cf475c18ac8d2d6d0f (diff)
downloadsqlite-c7c5b8a508a2f941b00d43f5f1aa413e7cc1b171.tar.gz
sqlite-c7c5b8a508a2f941b00d43f5f1aa413e7cc1b171.zip
Include the treetrace bitmap comment accidentally omitted from the previous
check-in. FossilOrigin-Name: db07471c531766a8eec1d5b41c9fd0283b5e64ee13166dc3391f70a1e1946121
Diffstat (limited to 'src')
-rw-r--r--src/sqliteInt.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 9585bd4b2..86f33dec9 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -1038,6 +1038,29 @@ extern u32 sqlite3TreeTrace;
# define TREETRACE_ENABLED 0
#endif
+/* TREETRACE flag meanings:
+**
+** 0x00000001 Beginning and end of SELECT processing
+** 0x00000002 WHERE clause processing
+** 0x00000004 Query flattener
+** 0x00000008 Result-set wildcard expansion
+** 0x00000010 Query name resolution
+** 0x00000020 Aggregate analysis
+** 0x00000040 Window functions
+** 0x00000080 Generated column names
+** 0x00000100 Move HAVING terms into WHERE
+** 0x00000200 Count-of-view optimization
+** 0x00000400 Compound SELECT processing
+** 0x00000800 Drop superfluous ORDER BY
+** 0x00001000 LEFT JOIN simplifies to JOIN
+** 0x00002000 Constant propagation
+** 0x00004000 Push-down optimization
+** 0x00008000 After all FROM-clause analysis
+** 0x00010000 Beginning of DELETE/INSERT/UPDATE processing
+** 0x00020000 Transform DISTINCT into GROUP BY
+** 0x00040000 SELECT tree dump after all code has been generated
+*/
+
/*
** Macros for "wheretrace"
*/