/ Check-in [d1acf72a]
Login

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

Overview
Comment:When Select-Trace is enabled (in debugging builds only) do not show the result of Window function tree rewrites if there are no window functions.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d1acf72ae1ea7484bb9c3a8630094f1a3a9597578c7b9d6e02fc0a4e3f59c57d
User & Date: drh 2019-10-12 23:38:00
Context
2019-10-14
15:15
Fix a problem with row-value IN(...) operators and virtual tables. check-in: aa57d7ab user: dan tags: trunk
2019-10-12
23:38
When Select-Trace is enabled (in debugging builds only) do not show the result of Window function tree rewrites if there are no window functions. check-in: d1acf72a user: drh tags: trunk
2019-10-11
18:55
Update the zipfile extension to use deflateBound(), instead of compressBound(), to learn the maximum possible size of a deflate()d buffer. check-in: f5ee3042 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/select.c.

  5723   5723     }
  5724   5724   
  5725   5725   #ifndef SQLITE_OMIT_WINDOWFUNC
  5726   5726     if( sqlite3WindowRewrite(pParse, p) ){
  5727   5727       goto select_end;
  5728   5728     }
  5729   5729   #if SELECTTRACE_ENABLED
  5730         -  if( sqlite3SelectTrace & 0x108 ){
         5730  +  if( p->pWin && (sqlite3SelectTrace & 0x108)!=0 ){
  5731   5731       SELECTTRACE(0x104,pParse,p, ("after window rewrite:\n"));
  5732   5732       sqlite3TreeViewSelect(0, p, 0);
  5733   5733     }
  5734   5734   #endif
  5735   5735   #endif /* SQLITE_OMIT_WINDOWFUNC */
  5736   5736     pTabList = p->pSrc;
  5737   5737     isAgg = (p->selFlags & SF_Aggregate)!=0;