/ Check-in [3b27a5da]
Login

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

Overview
Comment:Display SELECT_COLUMN expressions in the .wheretrace debugging output.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | rowvalue
Files: files | file ages | folders
SHA1:3b27a5da100037f75a4efc15e0354a6aa94194f8
User & Date: drh 2016-08-18 18:09:10
Context
2016-08-18
19:04
Fix a SQL NULL handling bug in the vector IN operator code generation. check-in: 936146b1 user: drh tags: rowvalue
18:09
Display SELECT_COLUMN expressions in the .wheretrace debugging output. check-in: 3b27a5da user: drh tags: rowvalue
17:55
Display VECTOR expressions in .wheretrace and .selecttrace debugging output. check-in: 157347e2 user: drh tags: rowvalue
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/treeview.c.

   450    450                             pExpr->iTable, pExpr->iColumn, zFlgs);
   451    451         sqlite3TreeViewExpr(pView, pExpr->pRight, 0);
   452    452         break;
   453    453       }
   454    454       case TK_VECTOR: {
   455    455         sqlite3TreeViewBareExprList(pView, pExpr->x.pList, "VECTOR");
   456    456         break;
          457  +    }
          458  +    case TK_SELECT_COLUMN: {
          459  +      sqlite3TreeViewLine(pView, "SELECT-COLUMN %d", pExpr->iColumn);
          460  +      sqlite3TreeViewSelect(pView, pExpr->pLeft->x.pSelect, 0);
          461  +      break;
   457    462       }
   458    463       default: {
   459    464         sqlite3TreeViewLine(pView, "op=%d", pExpr->op);
   460    465         break;
   461    466       }
   462    467     }
   463    468     if( zBinOp ){