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

Allow double-quoted strings as string constants in the IN operator. As a

side-efffect, allow the GROUP BY clause to refer to columns by their integer
column number.  Ticket #237. (CVS 856)

FossilOrigin-Name: 187d9c405891e543fc706f8ddb41f3966a842214
This commit is contained in:
drh
2003-01-31 17:16:36 +00:00
parent 3a84069da3
commit 88eee38afd
6 changed files with 83 additions and 31 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.87 2003/01/29 18:46:52 drh Exp $
** $Id: expr.c,v 1.88 2003/01/31 17:16:37 drh Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -301,7 +301,6 @@ int sqliteExprIsConstant(Expr *p){
case TK_DOT:
return 0;
case TK_STRING:
return p->token.z[0]=='\'';
case TK_INTEGER:
case TK_FLOAT:
return 1;