All identifiers to be quoted in square brackets, for compatibility with
MS-Access. (CVS 370)

FossilOrigin-Name: e17a858c9eeb70c62f54c88e6be5897e58d67301
diff --git a/src/expr.c b/src/expr.c
index faafa73..29c9a8b 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.40 2002/01/30 04:32:01 drh Exp $
+** $Id: expr.c,v 1.41 2002/02/14 21:42:51 drh Exp $
 */
 #include "sqliteInt.h"
 
@@ -157,6 +157,7 @@
       int cnt = 0;      /* Number of matches */
       int i;            /* Loop counter */
       char *z = sqliteStrNDup(pExpr->token.z, pExpr->token.n);
+      sqliteDequote(z);
       if( z==0 ) return 1;
       for(i=0; i<pTabList->nId; i++){
         int j;