mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Fix for bug #16: Check for invalid functions in the VALUES clause of an
INSERT statement. (CVS 525) FossilOrigin-Name: 43a77f019d34e1a6b3f502ad0ec31a00c8fdbe6e
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user