diff options
author | drh <drh@noemail.net> | 2017-07-10 16:38:14 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2017-07-10 16:38:14 +0000 |
commit | 66a0bf31cc812a7b046f6280c6eea757f8298e19 (patch) | |
tree | 6497e8ceab25dac54f16ace24f1a95ef5e820a68 /src/wherecode.c | |
parent | e24b92bce7318f196e390d878b45ac69dabfde40 (diff) | |
download | sqlite-66a0bf31cc812a7b046f6280c6eea757f8298e19.tar.gz sqlite-66a0bf31cc812a7b046f6280c6eea757f8298e19.zip |
Additional debugging Noop-comment in the constraint generator when
wheretrace is enabled.
FossilOrigin-Name: 0ca7474f05e9f27f53f8c71f5a3ff99963ffef9be9c147869e096246d552d6f1
Diffstat (limited to 'src/wherecode.c')
-rw-r--r-- | src/wherecode.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wherecode.c b/src/wherecode.c index 63972b020..d577f1d3f 100644 --- a/src/wherecode.c +++ b/src/wherecode.c @@ -2081,6 +2081,12 @@ Bitmask sqlite3WhereCodeOneLoopStart( VdbeCoverage(v); #endif } +#ifdef WHERETRACE_ENABLED /* 0xffff */ + if( sqlite3WhereTrace ){ + VdbeNoopComment((v, "WhereTerm[%d] (%p) priority=%d", + pWC->nTerm-j, pTerm, iLoop)); + } +#endif sqlite3ExprIfFalse(pParse, pE, addrCont, SQLITE_JUMPIFNULL); if( skipLikeAddr ) sqlite3VdbeJumpHere(v, skipLikeAddr); pTerm->wtFlags |= TERM_CODED; |