/ Check-in [572d4be4]
Login

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

Overview
Comment:Fix the compound-select-to-subquery converter so that it works with the new compound-select object linkage introduced as part of the fix for ticket [31a19d11b97088296].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 572d4be4db03ce4afe9ae70f148703c74e0d8de0
User & Date: drh 2014-02-10 18:56:05
Context
2014-02-10
21:07
Fix a pointless conditional. Add a test case. check-in: 9367632d user: drh tags: trunk
18:56
Fix the compound-select-to-subquery converter so that it works with the new compound-select object linkage introduced as part of the fix for ticket [31a19d11b97088296]. check-in: 572d4be4 user: drh tags: trunk
15:56
Improvements to a "Synopsis:" comment in the VDBE engine. check-in: 0dfa7ee9 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/select.c.

  3624   3624     p->pEList = sqlite3ExprListAppend(pParse, 0, sqlite3Expr(db, TK_ALL, 0));
  3625   3625     p->op = TK_SELECT;
  3626   3626     p->pWhere = 0;
  3627   3627     pNew->pGroupBy = 0;
  3628   3628     pNew->pHaving = 0;
  3629   3629     pNew->pOrderBy = 0;
  3630   3630     p->pPrior = 0;
         3631  +  p->pNext = 0;
         3632  +  p->selFlags &= ~SF_Compound;
         3633  +  if( pNew->pPrior ) pNew->pPrior->pNext = pNew;
  3631   3634     pNew->pLimit = 0;
  3632   3635     pNew->pOffset = 0;
  3633   3636     return WRC_Continue;
  3634   3637   }
  3635   3638   
  3636   3639   #ifndef SQLITE_OMIT_CTE
  3637   3640   /*