aboutsummaryrefslogtreecommitdiff
path: root/src/insert.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/insert.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/insert.c')
-rw-r--r--src/insert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insert.c b/src/insert.c
index 5915f4fa9..75db13177 100644
--- a/src/insert.c
+++ b/src/insert.c
@@ -1635,7 +1635,7 @@ void sqlite3GenerateConstraintChecks(
if( onError==OE_Ignore ){
sqlite3VdbeGoto(v, ignoreDest);
}else{
- char *zName = pCheck->a[i].zName;
+ char *zName = pCheck->a[i].zEName;
if( zName==0 ) zName = pTab->zName;
if( onError==OE_Replace ) onError = OE_Abort; /* IMP: R-26383-51744 */
sqlite3HaltConstraint(pParse, SQLITE_CONSTRAINT_CHECK,