/ Check-in [36d35dbd]
Login

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

Overview
Comment:Add a missing VdbeCoverage() macro.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 36d35dbd5a80dc4a149ed7409cc4b43712622fc4c6a8915b4fbb62fd1d6b7763
User & Date: drh 2019-09-25 18:44:49
Context
2019-09-26
15:53
Fix a window-functions problem that could occur if an ORDER BY clause contains an alias for a window-function that is not a top-level expression. check-in: 1cc6cf64 user: dan tags: trunk
2019-09-25
18:44
Add a missing VdbeCoverage() macro. check-in: 36d35dbd user: drh tags: trunk
17:47
Remove an unused variable. check-in: a1988445 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/window.c.

  2154   2154      && pMWin->eFrmType==TK_RANGE && op==WINDOW_AGGINVERSE
  2155   2155     ){
  2156   2156       int regRowid1 = sqlite3GetTempReg(pParse);
  2157   2157       int regRowid2 = sqlite3GetTempReg(pParse);
  2158   2158       sqlite3VdbeAddOp2(v, OP_Rowid, p->start.csr, regRowid1);
  2159   2159       sqlite3VdbeAddOp2(v, OP_Rowid, p->end.csr, regRowid2);
  2160   2160       sqlite3VdbeAddOp3(v, OP_Ge, regRowid2, lblDone, regRowid1);
         2161  +    VdbeCoverage(v);
  2161   2162       sqlite3ReleaseTempReg(pParse, regRowid1);
  2162   2163       sqlite3ReleaseTempReg(pParse, regRowid2);
  2163   2164       assert( pMWin->eStart==TK_PRECEDING || pMWin->eStart==TK_FOLLOWING );
  2164   2165     }
  2165   2166   
  2166   2167     switch( op ){
  2167   2168       case WINDOW_RETURN_ROW: