aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2007-02-23 03:00:44 +0000
committerdrh <drh@noemail.net>2007-02-23 03:00:44 +0000
commitde087bd5ed87e6dfa487bfb8ab2c650c09da93be (patch)
tree4fe2ad58e370a24e7991f77b39449d4e7a1c7a4c /src/expr.c
parent450d0aa933be23ca293e0cf3af29d655478a3f09 (diff)
downloadsqlite-de087bd5ed87e6dfa487bfb8ab2c650c09da93be.tar.gz
sqlite-de087bd5ed87e6dfa487bfb8ab2c650c09da93be.zip
Clarify the documentation on how comparisons occur in an IN operator.
Fix the comparison operators when both sides of an IN operator are expressions (ticket #2248). Changes to main.mk for adding FTS2 into the standard build also got mixed in with this check-in by mistake. (CVS 3656) FossilOrigin-Name: da81725ca1cd894b3f2d734767e10cc0dc329566
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr.c b/src/expr.c
index 530118ba2..12a0023ea 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.276 2007/02/14 09:19:36 danielk1977 Exp $
+** $Id: expr.c,v 1.277 2007/02/23 03:00:45 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -131,7 +131,7 @@ static char comparisonAffinity(Expr *pExpr){
aff = sqlite3CompareAffinity(pExpr->pSelect->pEList->a[0].pExpr, aff);
}
else if( !aff ){
- aff = SQLITE_AFF_NUMERIC;
+ aff = SQLITE_AFF_NONE;
}
return aff;
}