diff options
author | drh <> | 2022-05-13 16:38:40 +0000 |
---|---|---|
committer | drh <> | 2022-05-13 16:38:40 +0000 |
commit | a6e8ee12e2bbb353ae4548e38083d1855f7b86aa (patch) | |
tree | 2deb2ba455110c582a814ae4065d3bdb17aa123b /src/expr.c | |
parent | f8d2745f99fdde443cbc8c828c231f536c17884b (diff) | |
download | sqlite-a6e8ee12e2bbb353ae4548e38083d1855f7b86aa.tar.gz sqlite-a6e8ee12e2bbb353ae4548e38083d1855f7b86aa.zip |
Redefine the acccess rules for the Expr.w union so that the Expr.w.iJoin
member is accessible on either EP_OuterON or EP_InnerON.
FossilOrigin-Name: 6f741d6cfb8831a3ac966257ac4519bcc8156293447bf50323c2d9b170125974
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/expr.c b/src/expr.c index 2965457d9..64c065168 100644 --- a/src/expr.c +++ b/src/expr.c @@ -1069,6 +1069,7 @@ Expr *sqlite3ExprFunction( sqlite3ExprListDelete(db, pList); /* Avoid memory leak when malloc fails */ return 0; } + assert( !ExprHasProperty(pNew, EP_InnerON|EP_OuterON) ); pNew->w.iOfst = (int)(pToken->z - pParse->zTail); if( pList && pList->nExpr > pParse->db->aLimit[SQLITE_LIMIT_FUNCTION_ARG] |