aboutsummaryrefslogtreecommitdiff
path: root/src/trigger.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2019-12-12 20:22:34 +0000
committerdrh <drh@noemail.net>2019-12-12 20:22:34 +0000
commit41cee66848afe40aba1e4d4a83bd50b6c33aaff0 (patch)
treed40d1f4dd674e9fc6ee4c0010f55b4fd52f35b74 /src/trigger.c
parent0225d819c4ca87cd29cd6f58d50c75bcee6213bc (diff)
downloadsqlite-41cee66848afe40aba1e4d4a83bd50b6c33aaff0.tar.gz
sqlite-41cee66848afe40aba1e4d4a83bd50b6c33aaff0.zip
Change the name of the Expr.a.zName field to zEName, so that it has a name
that is distinct from other fields and variables and is hence easier to grep for. FossilOrigin-Name: d3783357f8fa76c42a86f12b214522f0388c37773c36ab8c5ce0623abbc4436a
Diffstat (limited to 'src/trigger.c')
-rw-r--r--src/trigger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trigger.c b/src/trigger.c
index 5586995e3..458aa2996 100644
--- a/src/trigger.c
+++ b/src/trigger.c
@@ -688,7 +688,7 @@ static int checkColumnOverlap(IdList *pIdList, ExprList *pEList){
int e;
if( pIdList==0 || NEVER(pEList==0) ) return 1;
for(e=0; e<pEList->nExpr; e++){
- if( sqlite3IdListIndex(pIdList, pEList->a[e].zName)>=0 ) return 1;
+ if( sqlite3IdListIndex(pIdList, pEList->a[e].zEName)>=0 ) return 1;
}
return 0;
}