1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Display SELECT_COLUMN expressions in the .wheretrace debugging output.

FossilOrigin-Name: 3b27a5da100037f75a4efc15e0354a6aa94194f8
This commit is contained in:
drh
2016-08-18 18:09:10 +00:00
parent db97e56217
commit 48cb3a7600
3 changed files with 12 additions and 7 deletions

View File

@@ -455,6 +455,11 @@ void sqlite3TreeViewExpr(TreeView *pView, const Expr *pExpr, u8 moreToFollow){
sqlite3TreeViewBareExprList(pView, pExpr->x.pList, "VECTOR");
break;
}
case TK_SELECT_COLUMN: {
sqlite3TreeViewLine(pView, "SELECT-COLUMN %d", pExpr->iColumn);
sqlite3TreeViewSelect(pView, pExpr->pLeft->x.pSelect, 0);
break;
}
default: {
sqlite3TreeViewLine(pView, "op=%d", pExpr->op);
break;