diff options
author | drh <drh@noemail.net> | 2008-12-08 13:42:36 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-12-08 13:42:36 +0000 |
commit | 555f8de7ef2202781d1e5e929c7d2c1a4045a59c (patch) | |
tree | 25e5a8b6423dd165bdcdc82689e2a9a26d508dcc /src/sqliteInt.h | |
parent | bbce338412255f7aa5539c2bc6575f954d1ccae4 (diff) | |
download | sqlite-555f8de7ef2202781d1e5e929c7d2c1a4045a59c.tar.gz sqlite-555f8de7ef2202781d1e5e929c7d2c1a4045a59c.zip |
Fix a segfault associated with the column cache that occurs on nested VIEWs.
Ticket #3527. (CVS 5989)
FossilOrigin-Name: 490138a2012fcb4c859e1cf12a35e314ec1060d2
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 5758aa407..adf051033 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -11,7 +11,7 @@ ************************************************************************* ** Internal interface definitions for SQLite. ** -** @(#) $Id: sqliteInt.h,v 1.802 2008/12/05 17:17:08 drh Exp $ +** @(#) $Id: sqliteInt.h,v 1.803 2008/12/08 13:42:36 drh Exp $ */ #ifndef _SQLITEINT_H_ #define _SQLITEINT_H_ @@ -1752,6 +1752,7 @@ struct Parse { int nVarExprAlloc; /* Number of allocated slots in apVarExpr[] */ Expr **apVarExpr; /* Pointers to :aaa and $aaaa wildcard expressions */ int nAlias; /* Number of aliased result set columns */ + int nAliasAlloc; /* Number of allocated slots for aAlias[] */ int *aAlias; /* Register used to hold aliased result */ u8 explain; /* True if the EXPLAIN flag is found on the query */ Token sErrToken; /* The token at which the error occurred */ |