mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Improved rebustness in sqlite3ExprListDup() when it contains a vector assignment
from an UPDATE where the initial term is omitted. This can happen during a UNION ALL query flattening while processing a virtual table update in which the first term of the vector is repeated. [forum:/forumpost/16ca0e9f32|Forum post 16ca0e9f32]. FossilOrigin-Name: 2547cfe38f8fb35109b3fc5bdfada387fe4b2b8a304156b704ab7f03f1f71198
This commit is contained in:
@@ -699,8 +699,9 @@ void sqlite3TreeViewExpr(TreeView *pView, const Expr *pExpr, u8 moreToFollow){
|
||||
break;
|
||||
}
|
||||
case TK_SELECT_COLUMN: {
|
||||
sqlite3TreeViewLine(pView, "SELECT-COLUMN %d of [0..%d]",
|
||||
pExpr->iColumn, pExpr->iTable-1);
|
||||
sqlite3TreeViewLine(pView, "SELECT-COLUMN %d of [0..%d]%s",
|
||||
pExpr->iColumn, pExpr->iTable-1,
|
||||
pExpr->pRight==pExpr->pLeft ? " (SELECT-owner)" : "");
|
||||
sqlite3TreeViewSelect(pView, pExpr->pLeft->x.pSelect, 0);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user