aboutsummaryrefslogtreecommitdiff
path: root/src/insert.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/insert.c')
-rw-r--r--src/insert.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/insert.c b/src/insert.c
index afec78b46..806e28513 100644
--- a/src/insert.c
+++ b/src/insert.c
@@ -1497,8 +1497,6 @@ void sqlite3GenerateConstraintChecks(
/* Don't bother checking for NOT NULL on columns that do not change */
continue;
}
- onError = pTab->aCol[i].notNull;
- if( onError==OE_None ) continue; /* This column is allowed to be NULL */
if( overrideError!=OE_Default ){
onError = overrideError;
}else if( onError==OE_Default ){