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/window.c | |
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/window.c')
-rw-r--r-- | src/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index f13ea8b02..1ed3e4921 100644 --- a/src/window.c +++ b/src/window.c @@ -1069,7 +1069,7 @@ int sqlite3WindowRewrite(Parse *pParse, Select *p){ pSub = sqlite3SelectNew( pParse, pSublist, pSrc, pWhere, pGroupBy, pHaving, pSort, 0, 0 ); - SELECTTRACE(1,pParse,pSub, + TREETRACE(0x40,pParse,pSub, ("New window-function subquery in FROM clause of (%u/%p)\n", p->selId, p)); p->pSrc = sqlite3SrcListAppend(pParse, 0, 0, 0); |