/ Check-in [4ca9d5d5]
Login

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

Overview
Comment:Ensure that the Walker.pParse structure is initialized when walking the source tree to gather the WINDOW clauses on a query with window functions.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:4ca9d5d53d41d08fbce29f9da8cc0948df9c4c3136210af88b499cf889b5ccb8
User & Date: drh 2019-02-01 15:06:27
Context
2019-02-01
18:46
Performance improvement in the parsing of options to %-formats in the printf implementation. check-in: 40d8f8ae user: drh tags: trunk
15:06
Ensure that the Walker.pParse structure is initialized when walking the source tree to gather the WINDOW clauses on a query with window functions. check-in: 4ca9d5d5 user: drh tags: trunk
14:54
New test cases added to test/fuzzdata8.db. check-in: e5924939 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/expr.c.

  1359   1359     return p==pWalker->u.pSelect ? WRC_Continue : WRC_Prune;
  1360   1360   }
  1361   1361   static void gatherSelectWindows(Select *p){
  1362   1362     Walker w;
  1363   1363     w.xExprCallback = gatherSelectWindowsCallback;
  1364   1364     w.xSelectCallback = gatherSelectWindowsSelectCallback;
  1365   1365     w.xSelectCallback2 = 0;
         1366  +  w.pParse = 0;
  1366   1367     w.u.pSelect = p;
  1367   1368     sqlite3WalkSelect(&w, p);
  1368   1369   }
  1369   1370   #endif
  1370   1371   
  1371   1372   
  1372   1373   /*