diff options
author | drh <drh@noemail.net> | 2018-09-01 15:49:13 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-09-01 15:49:13 +0000 |
commit | c840b428fc3dc7f01fe404255c31b13db447d5c0 (patch) | |
tree | 4593fdc37045e838c4b844a6b51a8ecea9fe0784 /src/expr.c | |
parent | 141e119a1789aa3326102ee8a09d92ffa963749d (diff) | |
parent | 6ae2454a67804f45fe94ef78336a3ab7d3f90884 (diff) | |
download | sqlite-c840b428fc3dc7f01fe404255c31b13db447d5c0.tar.gz sqlite-c840b428fc3dc7f01fe404255c31b13db447d5c0.zip |
Merge fixes and enhancements from trunk.
FossilOrigin-Name: 589186c083ff3af8d5a6d5ad34e1cefea57806ebf3831ea3bf5a48ef1e173140
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index 701f10856..477724402 100644 --- a/src/expr.c +++ b/src/expr.c @@ -3741,7 +3741,7 @@ expr_code_doover: ** "glob(B,A). We want to use the A in "A glob B" to test ** for function overloading. But we use the B term in "glob(B,A)". */ - if( nFarg>=2 && (pExpr->flags & EP_InfixFunc) ){ + if( nFarg>=2 && ExprHasProperty(pExpr, EP_InfixFunc) ){ pDef = sqlite3VtabOverloadFunction(db, pDef, nFarg, pFarg->a[1].pExpr); }else if( nFarg>0 ){ pDef = sqlite3VtabOverloadFunction(db, pDef, nFarg, pFarg->a[0].pExpr); |