aboutsummaryrefslogtreecommitdiff
path: root/src/resolve.c
diff options
context:
space:
mode:
authordrh <>2021-07-02 12:25:30 +0000
committerdrh <>2021-07-02 12:25:30 +0000
commitdd51365408391e457b0d37d1cdf87b56622b5673 (patch)
tree7a21f2c3560772b1938b26dd68a9440d4ddd62a8 /src/resolve.c
parent4d466698a2832d0908c2324ebf4e83f30d58e402 (diff)
downloadsqlite-dd51365408391e457b0d37d1cdf87b56622b5673.tar.gz
sqlite-dd51365408391e457b0d37d1cdf87b56622b5673.zip
Put ALWAYS() on a branch that is always true due to [d4097364c511709b].
Fix a testcase precondition associated with the same check-in. FossilOrigin-Name: 55e2fbebb0a2c9991feef46f31e79b82a24de272aae836bf4d3c06ee06ef1a70
Diffstat (limited to 'src/resolve.c')
-rw-r--r--src/resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve.c b/src/resolve.c
index ca6224f09..3bf84d322 100644
--- a/src/resolve.c
+++ b/src/resolve.c
@@ -475,7 +475,7 @@ static int lookupName(
&& pMatch
&& (pNC->ncFlags & (NC_IdxExpr|NC_GenCol))==0
&& sqlite3IsRowid(zCol)
- && VisibleRowid(pMatch->pTab)
+ && ALWAYS(VisibleRowid(pMatch->pTab))
){
cnt = 1;
pExpr->iColumn = -1;