diff options
author | drh <drh@noemail.net> | 2005-01-19 23:24:50 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2005-01-19 23:24:50 +0000 |
commit | 1398ad3639594cb7ea85de610385fc0cd2e433b0 (patch) | |
tree | eb90f3020118284c04a898cb77cfe6cc01340ed8 /src/insert.c | |
parent | 76b047d957abf185953da5ea7489a9ebc15957b2 (diff) | |
download | sqlite-1398ad3639594cb7ea85de610385fc0cd2e433b0.tar.gz sqlite-1398ad3639594cb7ea85de610385fc0cd2e433b0.zip |
Continued refactoring of the name resolution logic and query optimizer. (CVS 2236)
FossilOrigin-Name: d8b2a7e09187564fe66a2b4bf0992c6a017146cf
Diffstat (limited to 'src/insert.c')
-rw-r--r-- | src/insert.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/insert.c b/src/insert.c index 11b27de2c..f7de8f9bf 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.132 2005/01/18 04:00:44 drh Exp $ +** $Id: insert.c,v 1.133 2005/01/19 23:24:50 drh Exp $ */ #include "sqliteInt.h" @@ -312,7 +312,7 @@ void sqlite3Insert( iInitCode = sqlite3VdbeAddOp(v, OP_Goto, 0, 0); iSelectLoop = sqlite3VdbeCurrentAddr(v); iInsertBlock = sqlite3VdbeMakeLabel(v); - rc = sqlite3Select(pParse, pSelect, SRT_Subroutine, iInsertBlock, 0,0,0,0); + rc = sqlite3Select(pParse, pSelect, SRT_Subroutine, iInsertBlock,0,0,0,0,0); if( rc || pParse->nErr || sqlite3_malloc_failed ) goto insert_cleanup; iCleanup = sqlite3VdbeMakeLabel(v); sqlite3VdbeAddOp(v, OP_Goto, 0, iCleanup); @@ -380,7 +380,7 @@ void sqlite3Insert( nColumn = pList->nExpr; dummy.nSrc = 0; for(i=0; i<nColumn; i++){ - if( sqlite3ExprResolveNames(pParse,&dummy,0,pList->a[i].pExpr,0,1) ){ + if( sqlite3ExprResolveNames(pParse,&dummy,0,0,pList->a[i].pExpr,0,1) ){ goto insert_cleanup; } } |