aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2005-01-20 01:51:25 +0000
committerdrh <drh@noemail.net>2005-01-20 01:51:25 +0000
commit3119bc421a39c75444d007ac04ecfae9ef11a93e (patch)
tree487e7d56ab85cd2e4741e1f63dbd8d2da0ebd952 /src/expr.c
parent6d32959693c6824813abba06237fe2bf7baea29a (diff)
downloadsqlite-3119bc421a39c75444d007ac04ecfae9ef11a93e.tar.gz
sqlite-3119bc421a39c75444d007ac04ecfae9ef11a93e.zip
Expression generator bug fix. (CVS 2239)
FossilOrigin-Name: 39cf97a902523b1e3953da8fca6983119700d682
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c
index 025693401..5ef4ffce4 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -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++;