aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2009-02-20 10:58:41 +0000
committerdanielk1977 <danielk1977@noemail.net>2009-02-20 10:58:41 +0000
commitd336e222f4c5d1b81a20909e36600064afcabac0 (patch)
tree0c9c07eb0a7f8fa4ef35c65ed0475a7d2d3e260f /src/expr.c
parent08de14908d354c34206db249807703683e84676a (diff)
downloadsqlite-d336e222f4c5d1b81a20909e36600064afcabac0.tar.gz
sqlite-d336e222f4c5d1b81a20909e36600064afcabac0.zip
Instead of using SetNumColumns, specify the number of columns in a table or index using the P4 argument. (CVS 6310)
FossilOrigin-Name: e43ed649630cbc49a6f2a25a26a4a6b5fce84c48
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/expr.c b/src/expr.c
index 8bc85fcb5..af9938220 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.413 2009/02/20 03:55:05 drh Exp $
+** $Id: expr.c,v 1.414 2009/02/20 10:58:42 danielk1977 Exp $
*/
#include "sqliteInt.h"
@@ -1382,7 +1382,6 @@ int sqlite3FindInIndex(Parse *pParse, Expr *pX, int *prNotFound){
iAddr = sqlite3VdbeAddOp1(v, OP_If, iMem);
sqlite3VdbeAddOp2(v, OP_Integer, 1, iMem);
- sqlite3VdbeAddOp2(v, OP_SetNumColumns, 0, pIdx->nColumn);
sqlite3VdbeAddOp4(v, OP_OpenRead, iTab, pIdx->tnum, iDb,
pKey,P4_KEYINFO_HANDOFF);
VdbeComment((v, "%s", pIdx->zName));