1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-08 03:22:21 +03:00

Fix type coercion rules for the IN operator. Ticket #1821. (CVS 3188)

FossilOrigin-Name: 6e5a49762166a942e1b2c3beae8a30c07187eb10
This commit is contained in:
drh
2006-05-23 23:22:29 +00:00
parent c44135657c
commit 8159a35f46
7 changed files with 57 additions and 22 deletions

View File

@@ -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.257 2006/03/17 13:56:34 drh Exp $
** $Id: expr.c,v 1.258 2006/05/23 23:22:29 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -1367,7 +1367,7 @@ void sqlite3CodeSubselect(Parse *pParse, Expr *pExpr){
struct ExprList_item *pItem;
if( !affinity ){
affinity = SQLITE_AFF_NUMERIC;
affinity = SQLITE_AFF_NONE;
}
keyInfo.aColl[0] = pExpr->pLeft->pColl;