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

Add ability to quote table and column names in expression. (CVS 235)

FossilOrigin-Name: 029e3a3a5dd8d4923af50bb2c9f31b1b7cd9439e
This commit is contained in:
drh
2001-07-23 14:33:02 +00:00
parent 6019e168a0
commit 87c40e88a0
15 changed files with 250 additions and 3088 deletions

View File

@@ -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;