/ Check-in [85a31557]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove a debugging statement accidently left in check-in [eddc35f3057e59fd]
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | push-down-disable
Files: files | file ages | folders
SHA3-256:85a31557ac0d0401c1bf2e23a502dc2ea57d9b1bc23c01de693f5d3fe22d8341
User & Date: drh 2018-03-20 13:00:33
Context
2018-03-20
13:26
Add the ability to disable the push-down optimization using the 0x1000 bit of SQLITE_TESTCTRL_OPTIMIZATIONS. Also some documentation fixes and an enhancement to ".eqp full" in the CLI. check-in: ae34edb7 user: drh tags: trunk
13:00
Remove a debugging statement accidently left in check-in [eddc35f3057e59fd] Closed-Leaf check-in: 85a31557 user: drh tags: push-down-disable
12:04
In the CLI, avoid extra .selecttrace and .wheretrace output when in ".eqp full" mode. check-in: 427bbf31 user: drh tags: push-down-disable
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/select.c.

  3849   3849     Select *pSubq,        /* The subquery whose WHERE clause is to be augmented */
  3850   3850     Expr *pWhere,         /* The WHERE clause of the outer query */
  3851   3851     int iCursor           /* Cursor number of the subquery */
  3852   3852   ){
  3853   3853     Expr *pNew;
  3854   3854     int nChng = 0;
  3855   3855     if( pWhere==0 ) return 0;
  3856         -return 0;
  3857   3856     if( pSubq->selFlags & SF_Recursive ) return 0;  /* restriction (2) */
  3858   3857   
  3859   3858   #ifdef SQLITE_DEBUG
  3860   3859     /* Only the first term of a compound can have a WITH clause.  But make
  3861   3860     ** sure no other terms are marked SF_Recursive in case something changes
  3862   3861     ** in the future.
  3863   3862     */