diff options
Diffstat (limited to 'src/where.c')
-rw-r--r-- | src/where.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/where.c b/src/where.c index b99583c4c..7fa6f4171 100644 --- a/src/where.c +++ b/src/where.c @@ -13,7 +13,7 @@ ** the WHERE clause of SQL statements. Also found here are subroutines ** to generate VDBE code to evaluate expressions. ** -** $Id: where.c,v 1.71 2003/01/11 15:02:45 drh Exp $ +** $Id: where.c,v 1.72 2003/01/31 17:21:50 drh Exp $ */ #include "sqliteInt.h" @@ -62,8 +62,8 @@ static int exprSplit(int nSlot, ExprInfo *aSlot, Expr *pExpr){ aSlot[0].p = pExpr->pLeft; cnt = 1 + exprSplit(nSlot-1, &aSlot[1], pExpr->pRight); }else{ - cnt = exprSplit(nSlot, aSlot, pExpr->pRight); - cnt += exprSplit(nSlot-cnt, &aSlot[cnt], pExpr->pLeft); + cnt = exprSplit(nSlot, aSlot, pExpr->pLeft); + cnt += exprSplit(nSlot-cnt, &aSlot[cnt], pExpr->pRight); } return cnt; } |