aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeaux.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2011-12-10 15:55:01 +0000
committerdrh <drh@noemail.net>2011-12-10 15:55:01 +0000
commit678a9aa7bdae01e70cb615058117b136eb045fbe (patch)
treeb972d1674fbd74d0d0b055ef14422b54e5c1adaf /src/vdbeaux.c
parent3a0c9c0298776f8a3ca842fe555979768fdabac7 (diff)
parenta5eec8c8c3b44b802d6571a436ec3b3bffd69f4c (diff)
downloadsqlite-678a9aa7bdae01e70cb615058117b136eb045fbe.tar.gz
sqlite-678a9aa7bdae01e70cb615058117b136eb045fbe.zip
Import the experimental parse-tree explainer, with fixes, from the
tree-explain branch. FossilOrigin-Name: bcbc7152d49107afa926c8950360c61a6cf3d244
Diffstat (limited to 'src/vdbeaux.c')
-rw-r--r--src/vdbeaux.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vdbeaux.c b/src/vdbeaux.c
index 8b085ea6c..747c846d0 100644
--- a/src/vdbeaux.c
+++ b/src/vdbeaux.c
@@ -2474,6 +2474,10 @@ void sqlite3VdbeDeleteObject(sqlite3 *db, Vdbe *p){
sqlite3DbFree(db, p->aColName);
sqlite3DbFree(db, p->zSql);
sqlite3DbFree(db, p->pFree);
+#if defined(SQLITE_ENABLE_TREE_EXPLAIN)
+ sqlite3DbFree(db, p->zExplain);
+ sqlite3DbFree(db, p->pExplain);
+#endif
sqlite3DbFree(db, p);
}