diff options
author | drh <drh@noemail.net> | 2006-03-17 13:56:34 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2006-03-17 13:56:34 +0000 |
commit | f8875400e417ec7e777baf665f34ccdff41edf4f (patch) | |
tree | be864263b8608325282ab108631414fa5649de61 /src/expr.c | |
parent | b73857ff4d97503416e2220739329831eae086a7 (diff) | |
download | sqlite-f8875400e417ec7e777baf665f34ccdff41edf4f.tar.gz sqlite-f8875400e417ec7e777baf665f34ccdff41edf4f.zip |
Miscellaneous code cleanup. (CVS 3143)
FossilOrigin-Name: 8f60139f688903f0e635b0a904ab9ca401fbe71f
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/expr.c b/src/expr.c index 857294739..f427c3fa6 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.256 2006/03/06 20:55:46 drh Exp $ +** $Id: expr.c,v 1.257 2006/03/17 13:56:34 drh Exp $ */ #include "sqliteInt.h" #include <ctype.h> @@ -1381,11 +1381,7 @@ void sqlite3CodeSubselect(Parse *pParse, Expr *pExpr){ ** expression we need to rerun this code each time. */ if( testAddr>0 && !sqlite3ExprIsConstant(pE2) ){ - VdbeOp *aOp = sqlite3VdbeGetOp(v, testAddr-1); - int j; - for(j=0; j<3; j++){ - aOp[j].opcode = OP_Noop; - } + sqlite3VdbeChangeToNoop(v, testAddr-1, 3); testAddr = 0; } |