aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-09-01 15:52:10 +0000
committerdrh <drh@noemail.net>2008-09-01 15:52:10 +0000
commit588a9a1a1cf1b4f577b30af675b1c1cc956fc24e (patch)
treef8b42bd3efde895fc376523197e31ccb60afd124 /src/sqliteInt.h
parent865d4d429086a3dc541d5daead1186a7be93807e (diff)
downloadsqlite-588a9a1a1cf1b4f577b30af675b1c1cc956fc24e.tar.gz
sqlite-588a9a1a1cf1b4f577b30af675b1c1cc956fc24e.zip
Defer deleting Table objects associated with flattened subqueries until
all code has been generated, in case some expression node still references the Table object. Ticket #3346. (CVS 5650) FossilOrigin-Name: d04d70336727a0db959c672e6c22cdaa0505dce5
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 26971fb47..b581303f9 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -11,7 +11,7 @@
*************************************************************************
** Internal interface definitions for SQLite.
**
-** @(#) $Id: sqliteInt.h,v 1.764 2008/08/29 18:42:30 rse Exp $
+** @(#) $Id: sqliteInt.h,v 1.765 2008/09/01 15:52:11 drh Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
@@ -983,6 +983,7 @@ struct Table {
char **azModuleArg; /* Text of all module args. [0] is module name */
#endif
Schema *pSchema; /* Schema that contains this table */
+ Table *pNextZombie; /* Next on the Parse.pZombieTab list */
};
/*
@@ -1701,6 +1702,7 @@ struct Parse {
Table **apVtabLock; /* Pointer to virtual tables needing locking */
#endif
int nHeight; /* Expression tree height of current sub-select */
+ Table *pZombieTab; /* List of Table objects to delete after code gen */
};
#ifdef SQLITE_OMIT_VIRTUALTABLE