aboutsummaryrefslogtreecommitdiff
path: root/src/insert.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-01-02 22:28:47 +0000
committerdrh <drh@noemail.net>2020-01-02 22:28:47 +0000
commit24d35e409c900adba4f5528e70c6c7e5e748cfd0 (patch)
treeebf7659473500f6e926d5db02e84f45081ac7fb7 /src/insert.c
parent0c4f82051c7ff301ea78cf1d279005d2dc26ad19 (diff)
parent9fc1b9af36e54c7863a9404a9611abfb4b682374 (diff)
downloadsqlite-24d35e409c900adba4f5528e70c6c7e5e748cfd0.tar.gz
sqlite-24d35e409c900adba4f5528e70c6c7e5e748cfd0.zip
Add the two-size lookaside memory allocator. Also, reduce the per-entry
size of the ExprList object. FossilOrigin-Name: 51665bf0f975fb248964a4be205a4f3285d3f3f8cc697977d264efefbbe20dd8
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 87e9c7ead..e3035c8d0 100644
--- a/src/insert.c
+++ b/src/insert.c
@@ -1673,7 +1673,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,