diff options
author | drh <drh@noemail.net> | 2019-10-24 21:02:06 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2019-10-24 21:02:06 +0000 |
commit | 4485ac1a25e9919b5911a0db2ad7bed58be143d6 (patch) | |
tree | cc0a307bdd3c6e03eb49720b99a77187bb8d6dd0 /src | |
parent | c7476735c9b9e377958ab404f0130f3f43a219dc (diff) | |
download | sqlite-4485ac1a25e9919b5911a0db2ad7bed58be143d6.tar.gz sqlite-4485ac1a25e9919b5911a0db2ad7bed58be143d6.zip |
The previous fix was incomplete. It is also necessary to disable the
Expr.y.pTab field when making the translation.
FossilOrigin-Name: b99d5701312f7472e6b606bd824f9273617e2655920485bf50aa96d408064721
Diffstat (limited to 'src')
-rw-r--r-- | src/wherecode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wherecode.c b/src/wherecode.c index 0438cca54..351af766e 100644 --- a/src/wherecode.c +++ b/src/wherecode.c @@ -1139,6 +1139,7 @@ static int whereIndexExprTransColumn(Walker *p, Expr *pExpr){ if( pExpr->iTable==pX->iTabCur && pExpr->iColumn==pX->iTabCol ){ pExpr->iTable = pX->iIdxCur; pExpr->iColumn = pX->iIdxCol; + pExpr->y.pTab = 0; } } return WRC_Continue; |