diff options
author | drh <drh@noemail.net> | 2001-07-23 14:33:02 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2001-07-23 14:33:02 +0000 |
commit | 87c40e88a09ec61316761210781c7f1abe7d264d (patch) | |
tree | ae71d4d86ad961c6f9429d3aa8e73fed39de1f02 /src/expr.c | |
parent | 6019e168a08db4ecdc712d04a7caa950c0045d03 (diff) | |
download | sqlite-87c40e88a09ec61316761210781c7f1abe7d264d.tar.gz sqlite-87c40e88a09ec61316761210781c7f1abe7d264d.zip |
Add ability to quote table and column names in expression. (CVS 235)
FossilOrigin-Name: 029e3a3a5dd8d4923af50bb2c9f31b1b7cd9439e
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c index 29ee44c55..abc496381 100644 --- a/src/expr.c +++ b/src/expr.c @@ -24,7 +24,7 @@ ** This file contains routines used for analyzing expressions and ** for generating VDBE code that evaluates expressions. ** -** $Id: expr.c,v 1.24 2001/04/11 14:28:42 drh Exp $ +** $Id: expr.c,v 1.25 2001/07/23 14:33:04 drh Exp $ */ #include "sqliteInt.h" @@ -183,6 +183,8 @@ int sqliteExprResolveIds(Parse *pParse, IdList *pTabList, Expr *pExpr){ sqliteFree(zRight); return 1; } + sqliteDequote(zLeft); + sqliteDequote(zRight); pExpr->iTable = -1; for(i=0; i<pTabList->nId; i++){ int j; |