diff options
author | drh <drh@noemail.net> | 2015-11-07 17:48:21 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2015-11-07 17:48:21 +0000 |
commit | 6e7722669ec0080c1fec7d315460b77aecbd9e4f (patch) | |
tree | 49e35d43c3863527944dc4557ceeb1ab115f8006 /src/sqliteInt.h | |
parent | 2476a6f2cb071b4ea17a99b1ddc05111cd1422f4 (diff) | |
download | sqlite-6e7722669ec0080c1fec7d315460b77aecbd9e4f.tar.gz sqlite-6e7722669ec0080c1fec7d315460b77aecbd9e4f.zip |
Proposed fix for an infinite loop bug in the WITH clause semantic analysis
logic.
FossilOrigin-Name: 028475cb17a4b50baf0e9aba9bd3403d0a5d03b0
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 8956c43b0..c65e0f205 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -2754,7 +2754,6 @@ struct Parse { int nVar; /* Number of '?' variables seen in the SQL so far */ int nzVar; /* Number of available slots in azVar[] */ u8 iPkSortOrder; /* ASC or DESC for INTEGER PRIMARY KEY */ - u8 bFreeWith; /* True if pWith should be freed with parser */ u8 explain; /* True if the EXPLAIN flag is found on the query */ #ifndef SQLITE_OMIT_VIRTUALTABLE u8 declareVtab; /* True if inside sqlite3_declare_vtab() */ @@ -2781,6 +2780,7 @@ struct Parse { Table *pZombieTab; /* List of Table objects to delete after code gen */ TriggerPrg *pTriggerPrg; /* Linked list of coded triggers */ With *pWith; /* Current WITH clause, or NULL */ + With *pWithToFree; /* Free this WITH object at the end of the parse */ }; /* |