diff options
author | drh <drh@noemail.net> | 2005-01-17 22:08:19 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2005-01-17 22:08:19 +0000 |
commit | 626a879a25f01431a1212c22b5a99bb768e44b32 (patch) | |
tree | 6d5f94f3e00b00e8fd100d15d577d2a44279d105 /src/insert.c | |
parent | 3719d7f9c4829ee2624bcd64f0e89d86a85eb3c8 (diff) | |
download | sqlite-626a879a25f01431a1212c22b5a99bb768e44b32.tar.gz sqlite-626a879a25f01431a1212c22b5a99bb768e44b32.zip |
Infrastructure changes to handle name resolution differently. This is needed
to fix various long-standing problems with column names in joins. It will
also make the implementation of correlated subqueries easier. (CVS 2228)
FossilOrigin-Name: 4a7534396a72ccb300303df28798bb2c50293782
Diffstat (limited to 'src/insert.c')
-rw-r--r-- | src/insert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/insert.c b/src/insert.c index 156973162..17b5cf8ee 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.130 2005/01/14 01:22:01 drh Exp $ +** $Id: insert.c,v 1.131 2005/01/17 22:08:19 drh Exp $ */ #include "sqliteInt.h" @@ -380,7 +380,7 @@ void sqlite3Insert( nColumn = pList->nExpr; dummy.nSrc = 0; for(i=0; i<nColumn; i++){ - if( sqlite3ExprResolveAndCheck(pParse,&dummy,0,pList->a[i].pExpr,0,0) ){ + if( sqlite3ExprResolveNames(pParse,&dummy,0,pList->a[i].pExpr,0,0,1) ){ goto insert_cleanup; } } |