diff options
author | drh <drh@noemail.net> | 2003-01-18 20:11:05 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2003-01-18 20:11:05 +0000 |
commit | fcb78a490061b4205875aa154fde905679ea90a8 (patch) | |
tree | f85c248c4d55fb9d94c9c5f246ede40d017ea923 /src/expr.c | |
parent | be4f31c22637c09c8f3bc716bf4ee749ad95eaf9 (diff) | |
download | sqlite-fcb78a490061b4205875aa154fde905679ea90a8.tar.gz sqlite-fcb78a490061b4205875aa154fde905679ea90a8.zip |
Fix datatype reporting and collating sequence selection so that it works
correctly on views and with the UNION, EXCEPT, and INTERCEPT operators. (CVS 839)
FossilOrigin-Name: 71cc292dce59cf8224b205d1cdbff59ad12f1043
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr.c b/src/expr.c index e56d05e3f..415cc3a1f 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.85 2003/01/14 02:49:28 drh Exp $ +** $Id: expr.c,v 1.86 2003/01/18 20:11:07 drh Exp $ */ #include "sqliteInt.h" #include <ctype.h> @@ -122,7 +122,7 @@ void sqliteExprDelete(Expr *p){ Expr *sqliteExprDup(Expr *p){ Expr *pNew; if( p==0 ) return 0; - pNew = sqliteMalloc( sizeof(*p) ); + pNew = sqliteMallocRaw( sizeof(*p) ); if( pNew==0 ) return 0; memcpy(pNew, p, sizeof(*pNew)); if( p->token.z!=0 ){ |