diff options
author | drh <> | 2022-11-22 19:49:16 +0000 |
---|---|---|
committer | drh <> | 2022-11-22 19:49:16 +0000 |
commit | 5d7aef16bffb21331e7724cf475c18ac8d2d6d0f (patch) | |
tree | 247d964cdeed1b1d3d13ca36a158ec38adbb1920 /src/sqliteInt.h | |
parent | c9b7d943ad594bcf563b44405d8cea6256d37210 (diff) | |
download | sqlite-5d7aef16bffb21331e7724cf475c18ac8d2d6d0f.tar.gz sqlite-5d7aef16bffb21331e7724cf475c18ac8d2d6d0f.zip |
Rename the SELECTTRACE macro to TREETRACE, so that is corresponds to the new
CLI command. Renumber all of the bits in the bitmask used to enable
various kinds of tracing, and add a trace bitmap decoder in sqliteInt.h.
Changes to debugging logic only. No (intentional) changes to production code.
FossilOrigin-Name: 8036445a36d9d982c1305935e7e37367bdf9e466b923eb6286b52524802e3ccd
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 6ff49ab5d..9585bd4b2 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -1029,12 +1029,12 @@ extern u32 sqlite3TreeTrace; && (defined(SQLITE_TEST) || defined(SQLITE_ENABLE_SELECTTRACE) \ || defined(SQLITE_ENABLE_TREETRACE)) # define TREETRACE_ENABLED 1 -# define SELECTTRACE(K,P,S,X) \ +# define TREETRACE(K,P,S,X) \ if(sqlite3TreeTrace&(K)) \ sqlite3DebugPrintf("%u/%d/%p: ",(S)->selId,(P)->addrExplain,(S)),\ sqlite3DebugPrintf X #else -# define SELECTTRACE(K,P,S,X) +# define TREETRACE(K,P,S,X) # define TREETRACE_ENABLED 0 #endif |