diff options
author | drh <drh@noemail.net> | 2013-01-03 22:22:55 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-01-03 22:22:55 +0000 |
commit | 89ded43b3602fee3a703b7ca28b7536e9f8d6a03 (patch) | |
tree | bfed6cb44a3e38bbd7e5c0fd2abf4905b83e7963 /src/expr.c | |
parent | bd36911f4d3449cdcac15db56bb1bf5684e779d4 (diff) | |
parent | 26de1e99568c0f04a7956f2503bd9fcf007d85e6 (diff) | |
download | sqlite-89ded43b3602fee3a703b7ca28b7536e9f8d6a03.tar.gz sqlite-89ded43b3602fee3a703b7ca28b7536e9f8d6a03.zip |
Merge recent trunk changes into the sessions branch.
FossilOrigin-Name: 7e068e39b3b31364271664e0afb1cd95a235c26f
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/expr.c b/src/expr.c index 9ca34ec7b..5ba261691 100644 --- a/src/expr.c +++ b/src/expr.c @@ -3281,6 +3281,12 @@ void sqlite3ExplainExprList(Vdbe *pOut, ExprList *pList){ sqlite3ExplainPush(pOut); sqlite3ExplainExpr(pOut, pList->a[i].pExpr); sqlite3ExplainPop(pOut); + if( pList->a[i].zName ){ + sqlite3ExplainPrintf(pOut, " AS %s", pList->a[i].zName); + } + if( pList->a[i].bSpanIsTab ){ + sqlite3ExplainPrintf(pOut, " (%s)", pList->a[i].zSpan); + } if( i<pList->nExpr-1 ){ sqlite3ExplainNL(pOut); } |