aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2025-07-08 20:28:35 +0000
committerdrh <>2025-07-08 20:28:35 +0000
commitaa12f0027b7630a5f6d2129ea967bf971e9e12f1 (patch)
tree97efd514868eb0ee2a8e579edef89806b954ffdf /src
parent9a13a21223bdfc123dfd537c999822ff3077cfa8 (diff)
downloadsqlite-aa12f0027b7630a5f6d2129ea967bf971e9e12f1.tar.gz
sqlite-aa12f0027b7630a5f6d2129ea967bf971e9e12f1.zip
Adjustments to test/incrblob4.test so that it works on both Linux and Mac
in spite of error message differences between those platforms. Minor change to termIsEquivalent() to provide 100% MC/DC. FossilOrigin-Name: 720387f8604f7cd997f1850ed62ce6ab32608155d7f02a89c695041caafc4067
Diffstat (limited to 'src')
-rw-r--r--src/whereexpr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/whereexpr.c b/src/whereexpr.c
index e4be8d9d6..e9fa4a143 100644
--- a/src/whereexpr.c
+++ b/src/whereexpr.c
@@ -948,7 +948,7 @@ static int termIsEquivalence(Parse *pParse, Expr *pExpr, SrcList *pSrc){
if( ExprHasProperty(pExpr, EP_OuterON) ) return 0; /* (3) */
assert( pSrc!=0 );
if( pExpr->op==TK_IS
- && pSrc->nSrc
+ && pSrc->nSrc>=2
&& (pSrc->a[0].fg.jointype & JT_LTORJ)!=0
){
return 0; /* (4) */