1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-08 03:22:21 +03:00

Expression generator bug fix. (CVS 2239)

FossilOrigin-Name: 39cf97a902523b1e3953da8fca6983119700d682
This commit is contained in:
drh
2005-01-20 01:51:25 +00:00
parent 6d32959693
commit 3119bc421a
3 changed files with 10 additions and 9 deletions

View File

@@ -12,7 +12,7 @@
** This file contains routines used for analyzing expressions and
** for generating VDBE code that evaluates expressions in SQLite.
**
** $Id: expr.c,v 1.182 2005/01/19 23:24:50 drh Exp $
** $Id: expr.c,v 1.183 2005/01/20 01:51:26 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -1280,6 +1280,7 @@ static int codeSubqueryStep(void *pArg, Expr *pExpr){
pNC = pCoder->pNC;
if( pNC ) nRef = pNC->nRef;
sqlite3CodeVerifySchema(pParse, -1); /* Insert the cookie verifier Goto */
v = sqlite3GetVdbe(pParse);
addr = sqlite3VdbeAddOp(v, OP_Goto, 0, 0);
pExpr->iColumn = pParse->nMem++;