diff options
author | drh <> | 2023-12-19 15:51:14 +0000 |
---|---|---|
committer | drh <> | 2023-12-19 15:51:14 +0000 |
commit | c52aebb443751e01a8800bb493dd62bb435fd98b (patch) | |
tree | 3dc1276f4cddd4060f4820c9c730bae95d934a91 /src/expr.c | |
parent | 7c1033b0103b20aca5d1be1bf98f828843bf631b (diff) | |
download | sqlite-c52aebb443751e01a8800bb493dd62bb435fd98b.tar.gz sqlite-c52aebb443751e01a8800bb493dd62bb435fd98b.zip |
Remove redundant conditional from sqlite3ExprCanBeNull().
FossilOrigin-Name: 257f96a2d22c605885fa66220c28cf7dc5941c330bccee3f132b9e7b70d89d30
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index 068360952..11d052fee 100644 --- a/src/expr.c +++ b/src/expr.c @@ -2743,7 +2743,6 @@ int sqlite3ExprCanBeNull(const Expr *p){ NEVER(p->y.pTab==0) || /* Reference to column of index on expr */ (p->iColumn>=0 && p->y.pTab->aCol!=0 /* Possible due to prior error */ - && ALWAYS(p->iColumn>=0) && ALWAYS(p->iColumn<p->y.pTab->nCol) && p->y.pTab->aCol[p->iColumn].notNull==0); default: |