diff options
Diffstat (limited to 'src/insert.c')
-rw-r--r-- | src/insert.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/insert.c b/src/insert.c index 55e2a212a..94867c55b 100644 --- a/src/insert.c +++ b/src/insert.c @@ -12,7 +12,7 @@ ** This file contains C code routines that are called by the parser ** to handle INSERT statements in SQLite. ** -** $Id: insert.c,v 1.50 2002/04/09 03:28:01 drh Exp $ +** $Id: insert.c,v 1.51 2002/04/12 03:55:16 drh Exp $ */ #include "sqliteInt.h" @@ -100,6 +100,9 @@ void sqliteInsert( if( sqliteExprResolveIds(pParse, 0, &dummy, 0, pList->a[i].pExpr) ){ goto insert_cleanup; } + if( sqliteExprCheck(pParse, pList->a[i].pExpr, 0, 0) ){ + goto insert_cleanup; + } } } |